Whether this is technically a bug is open for discussion, but it must at least be a flaw:
Almost all the apps I write use a log file for logging errors and other "notable" events. The file is always located in the same directory as the app itself, and bears the same name except with a .LOG extension. Sounds familiar? It is - that's what the compiler log file is named, too, so my log files kpet getting overwritten.
Fine - so I turn off the compiler log file in the IDE. Now my files kept disappearing... I finally tracked it down to this: If you turn off log file generation, the IDE (or compiler, I don't know) will delete APPNAME.LOG if it exists, but not write a new one... This may be by design to make sure you don't confuse old log files with new compiler results, but if I say no log file I mean no log file. If i have an old file laying around that's my problem...
Ketil
Almost all the apps I write use a log file for logging errors and other "notable" events. The file is always located in the same directory as the app itself, and bears the same name except with a .LOG extension. Sounds familiar? It is - that's what the compiler log file is named, too, so my log files kpet getting overwritten.
Fine - so I turn off the compiler log file in the IDE. Now my files kept disappearing... I finally tracked it down to this: If you turn off log file generation, the IDE (or compiler, I don't know) will delete APPNAME.LOG if it exists, but not write a new one... This may be by design to make sure you don't confuse old log files with new compiler results, but if I say no log file I mean no log file. If i have an old file laying around that's my problem...

Ketil
Comment