How do I set logfile rotation limit for CF8 -out logs?
Posted
by
melikeum
on Server Fault
See other posts from Server Fault
or by melikeum
Published on 2011-01-06T19:52:47Z
Indexed on
2011/01/06
19:55 UTC
Read the original article
Hit count: 226
coldfusion
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.
© Server Fault or respective owner