Re: [logs] Trial SELP client implementation

From: Bennett Todd (betat_private)
Date: Fri Jan 10 2003 - 05:24:04 PST

  • Next message: Bennett Todd: "Re: [logs] syslog/tcp (selp)"

    Damn and blast. Andy Bach just notified me that some strftimes don't
    support %z, so I don't see an easy portable way to lay my hands on
    the timezone offset. This works:
    
    	strftime("%Y-%m-%dT%H:%M:%SZ", gmtime(time));
    
    just as Mikael Olsson recommended.
    
    -Bennett
    
    
    

    _______________________________________________ LogAnalysis mailing list LogAnalysisat_private http://lists.shmoo.com/mailman/listinfo/loganalysis



    This archive was generated by hypermail 2b30 : Fri Jan 10 2003 - 11:47:46 PST