Copy link to clipboard
Copied
I recently upgraded to Coldfusion 9.
My {cfroot}/runtime/log/coldfusion-out.log files are being overrun by Informational messages.
01/04 00:57:00 Information [scheduler-6] - Starting HTTP request {URL='http://localhost:80/Reports/Prep/Production/Downtime/Files/Prep_Status.cfm', method='get'}
01/04 00:57:00 Information [scheduler-0] - Starting HTTP request {URL='http://localhost:80/Reports/Conf_Fin/Production/Status/Shop_Status_Grid1.cfm', method='get'}
01/04 00:57:00 Information [scheduler-7] - Starting HTTP request {URL='http://localhost:80/Reports/Prep/Production/Downtime/Files/Prep_Status.cfm', method='get'}
01/04 00:57:00 Information [scheduler-1] - Starting HTTP request {URL='http://localhost:80/Reports/Conf_Fin/Production/Status/Shop_Status_Grid1.cfm', method='get'}
01/04 00:57:00 Information [scheduler-0] - HTTP request completed {Status Code=200 ,Time taken=937 ms}
01/04 00:57:01 Information [scheduler-1] - HTTP request completed {Status Code=200 ,Time taken=1453 ms}
01/04 00:57:02 Information [scheduler-6] - HTTP request completed {Status Code=200 ,Time taken=2078 ms}
I have tdisabled scheduler logging in the ColdFusion Administrator and restarted the service. This only managed to stop logging to the {cfroot}/log/scheduler.log
I have managed to increase the size of the log file from 200k to a more manageable 2M using the
{cfroot}/bin/jrunsvc.exe -logfilesize 2000 "ColdFusion 9 Application Server"
What I am looking for is a way to suppress the Information [scheduler-#] Starting HTTP request and request completed messages.
I can see from my previous CF8 logs that it can be done.
I wish I could dig up my notes on how I did that.
Copy link to clipboard
Copied
I don't know the answer to your question. But I do know where I'd start looking for it - in the JRun 4 docs. For example, here's a link that discusses managing logging:
http://livedocs.adobe.com/jrun/4/JRun_Administrators_Guide/logging4.htm
Dave Watts, CTO, Fig Leaf Software