Date in Log File

Florian Gleixner flo at redflo.de
Fri Apr 25 00:55:54 CEST 2008


Steve Pribyl wrote:
> Is there any reason the log file using the epoch time instead of a human
> readable format?

You can configure nagios to log to syslog in the main config file. Then
you have a human readable timestamp. If you use syslog-ng it is easy to
use a filter with program('nagios') to put all log from nagios to a
separate file.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone




More information about the Developers mailing list