Re: [logs] Trial SELP client implementation

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

  • Next message: Andrew Ross: "RE: [logs] RE: syslog/tcp (selp)"

    Mikael Olsson wrote:
    > 
    > 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 :)
    
    Argh. Too glad, apparently. I thought it was "z", when in fact
    it was "%z". Sorry. Your code is right.
    
    Anyhow, this gives me the opportunity to point out that it'd be
    real nice if your test client would also send fractional seconds,
    since we want that to be (an optional) part of this new protocol.
    
    /Mike
    
    -- 
    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:42:19 PST