Coldfusion 8.0.1 on Windows 2003
Does anyone know a way to manually or programmatically reliably delete or move log files from the \ColdFusion8\logs directory?
Deleting them in Account Admin rarely works without about 30 tries. Archiving them leaves an empty file that makes it hard to visually scan the folder for new issues.
Stopping the CF service is the only sure fire way I have found and that is not an option on production servers.
We tried adding a file date to the log file name hoping CF would let go of the file after some time period but that did not work, the files stay locked by the CF process.
I know there are utilities like unlocker but I think those may kill the cf/jrun process.
Is there any way to stop and restart just the logging process or any other approach?
Thanks