tracker issue : CF-3324121

select a category, or use search below
(searches all categories and all time range)

Coldfusion-out log stops most logging after log rolls

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dan Corrigan / Dan Corrigan (Dan Corrigan)

Created: 09/04/2012

Components: Logging

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / CF10_Update14

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win 2003 Server

Vote Count: 6

Problem Description: The coldfusion-out.log file stops logging most events after it reaches 20MB and rolls over.  The newly created coldfusion-out.log seems to only log info about datasources and FTP connections and not e-mails or scheduled tasks which typically comprise most of the log files (at least in my enviroment).  A restart of CF gets the logging working normally again.

Steps to Reproduce:  Wait until coldfusion-out gets to 20MB and rolls, anbd observe the contents of the new file in contrast with mailsent.log for example to see mails actually were sent but not logged in coldfusion-out.log

Actual Result:  Full logging should continue after file roll

Expected Result:  Only limited logging takes place after file roll.

Any Workarounds: Restart CF

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3324121


External Customer Info:
External Company:  
External Customer Name: booster94
External Customer Email:  
External Test Config: My Hardware and Environment details: Server 2003 x32 IIS6, CF 10 32-bit.



This makes troubleshooting on our servers much more difficult than it had been in previous versions of ColdFusion.
Vote by External U.
18173 | October 05, 2012 09:53:25 AM GMT
The problem also occurs on Win 2008 Server x64 (with 64-bit CF10). Note that cflog output stops appearing after the file rolls over, but cfdump output to the console continues appearing. Our current workaround is to manually rename coldfusion-out.log immediately before starting each instance. We have also increased the maximum log file size to 100MB. We do not consider this a sustainable workaround.
Comment by External U.
18167 | October 16, 2012 11:38:56 AM GMT
makes it nearly impossible to debug an app.
Vote by External U.
18174 | October 16, 2012 09:43:50 PM GMT
One of our workarounds is failing as well. It appears that coldfusion-out.log rolls over at 20MB regardless of the contents of neo-logging.xml. Is there another setting we should be using?
Comment by External U.
18168 | October 18, 2012 01:53:00 PM GMT
+1, this makes debugging difficult for me as well
Vote by External U.
18175 | March 09, 2013 03:34:40 AM GMT
Wow. This REALLY needs fixing. -- Adam
Vote by External U.
18176 | April 09, 2013 06:20:31 PM GMT
This problem is seriously bugging us in production. Otherwise the server is running mostly fine, but logging just stops after some number of log rotations.
Vote by External U.
18177 | April 18, 2013 11:56:26 PM GMT
Occurs on 64-bit RHEL as well, not limited to Windows.
Comment by External U.
18169 | April 18, 2013 11:57:37 PM GMT
We need to use maxOutLogSize,maxOutFileBackup in neo-logging.xml for setting the limits for coldfusion-out.log and coldfusion-error.log .
Comment by Asha K.
18170 | June 03, 2013 08:42:42 AM GMT
The issue still exist. As log4j and coldfusion-out.log (log rotation logic ) kicks in based on maxSize set sometime logging stops working for coldfusion-out.log. The issue appears when maxLogSize defined in log4j is greater than defined in coldfusion-out.log logging setting.
Comment by Kiran S.
18171 | October 22, 2013 01:33:50 AM GMT
This is an extremely important fix for our customers. We have very stringent logging and auditing policies in place, and there are a few items like this in the bug tracker. There is a lack of consistency in several areas of the log file processing, this being one. They should all be addressed, before it becomes a visible problem to issuing agencies handing out a Govt. system ATO.
Vote by External U.
18178 | March 05, 2014 04:37:36 PM GMT
please test log rotation of coldfusion-out.log and coldfusion-error.log and log rotation of files in logs folder.
Comment by Asha K.
18172 | April 02, 2014 04:55:54 AM GMT