Re: [logs] Trial SELP client implementation

From: Mikael Olsson (mikael.olssonat_private)
Date: Thu Jan 09 2003 - 16:06:20 PST

  • Next message: Darren Reed: "Re: [logs] syslog/tcp (selp)"

    Bennett Todd wrote:
    > 
    > Only just this minute got it to where it appears to be working
    > approximately correctly. 
    >
    >[...]
    >     my $timestamp = strftime("%Y-%m-%dT%H:%M:%S%z", localtime(time));
    
    Rong. The "z" should be "Z", and, if so, it describes GMT, so
    you shouldn't be using localtime().
    
    /Mike, always glad to audit other people's code :)
    
    -- 
    Mikael Olsson, Clavister AB
    Storgatan 12, Box 393, SE-891 28 ÖRNSKÖLDSVIK, Sweden
    Phone: +46 (0)660 29 92 00   Mobile: +46 (0)70 26 222 05
    Fax: +46 (0)660 122 50       WWW: http://www.clavister.com
    _______________________________________________
    LogAnalysis mailing list
    LogAnalysisat_private
    http://lists.shmoo.com/mailman/listinfo/loganalysis
    



    This archive was generated by hypermail 2b30 : Thu Jan 09 2003 - 16:23:14 PST