Skip navigation
Currently Being Moderated

CFLOG Precision

Aug 27, 2009 1:57 PM

Has anybody found a way to have better time precision in CFLOG?  I have quite a few batch processes where I like to write to a log as the process runs so I can track how long various steps take, where it leaves off, etc.  But the problem is that the logs seem to only have precision to the nearest minute--if I have several steps which finish and cflog within the same minute (i.e. 4:55), they don't necessarily appear in the right order.  Is there any way to make the cflog entries have at least to-the-second precision, if not better?  It would just make a useful tool much more useful.

 

I realize I could create my own text file logs, but the ease of accessing the logs through the Admin is quite a significant benefit.

 
Replies
  • Currently Being Moderated
    Aug 27, 2009 2:48 PM   in reply to jarviswabi

    As mentioned here, you can change the default pattern in neo-logging.xml to include milliseconds.

     

         <var name='pattern'><string>"%p","%t",%d{"MM/dd/yy","HH:mm:ss:SS"},%a,"%m% x"%n</string>

     

    BUT .. that will affect all log files, not just cflog.  I am not sure how you hone in on a single log file..

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points