How do I set logfile rotation limit for CF8 -out logs?
- by melikeum
I'm trying to set the number of logs to keep for the CF -out logs. I found a jrunsvc command line switch to set this but it throws an error saying the value must be at least 1000:
jrunsvc.exe -logfileRotationLimit 50 "ColdFusion 8 Application Server"
Error: log file rotaion limit must be at least 1000
The default is 200 files which seems excessive but 1000 is even worse. Am I not understanding this value properly? I did set it to 1001 and then I found this registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ColdFusion 9 Application Server\LogFileRotationLimit
I'm hesitant to set it there manually in case the value does not equal the number of files to keep.