Date in Log File

Arno Lehmann al at its-lehmann.de
Mon Apr 21 18:08:12 CEST 2008


Hi,

21.04.2008 16:29, Andreas Ericsson wrote:
> Steve Pribyl wrote:
...
>> Epoch is hard to read by people.
>>
> 
> People can use perl, or naglog.c (attached) to get the date in a sort-of
> human-readable format. As soon as you start fiddling with such things
> though, you'll find that "human-readable" means different things in
> different parts of the world.

Very true...

> /*
>  * naglog.c
>  *
>  * This program was written to display Nagios logs with the timestamp
>  * translated to human-readable (European, Americans are only barely human)

... and just your usual quite direct politeless ;-)

>  * format. Don't whine if it doesn't work for you, and don't ask me to add
>  * support for other date-formats.
>  *
>  * Author: Andreas Ericsson
>  *

(I don't complain. I just notice you're a bit... rough sometimes. If 
it bothered me I could ignore your mail.)

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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