Date in Log File
Steve Pribyl
steve at unliketea.com
Mon Apr 21 16:35:19 CEST 2008
Actually the patch I had in mind would use local_time_r, this would allow
for international formatting. The api would not change. I use it mostly
for debugging as I more a cli user the web.
Does is this file read by the cgis(except showlog)?
Thanks
> Steve Pribyl schrieb:
>>> Epoch time is 500000 times easier to parse from programs.
>>>
>>>
>> I am not going to disagree with you there. Is there a way to get both
>> in
>> there. I will happily write the patch it there is some agreement.
>>
>> Epoch is hard to read by people.
>>
>> Steve
>>
>>
> People has "/cgi-bin/showlog.cgi" to read it ;)
>
> The native nagios.log is just, up to now, a data sink for the daemon and
> the cgi's - for what other could it be usefull?
>
> Are you ready to patch all of the CGIs too?
> What if people would like to have other date formats? Europe, US, ISO....?
-------------------------------------------------------------------------
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