Re: [logs] Year value in timestamps

From: Bennet S. Yee (bsyat_private)
Date: Fri Dec 27 2002 - 08:16:17 PST

  • Next message: Balazs Scheidler: "Re: [logs] Syslog payload format"

    it seems to me that a crontab entry such as
    
    0 * * * *	/usr/bin/logger -p local0.notice -t yearstamper `/bin/date`
    
    suffices to get year values into your (future) syslog entries if your
    log analysis software can be made only slightly smarter.  (as long as
    you don't rotate more frequently than once per hour.)
    
    -bsy
    --------
    Bennet S. Yee		Phone: +1 858 534 4614		Email: bsyat_private
    	(i often don't capitalize due to tendonitis)
    Web:	http://www-cse.ucsd.edu/~bsy/
    USPS:	Dept of Comp Sci and Eng, 0114, UC San Diego, La Jolla, CA 92093-0114
    _______________________________________________
    LogAnalysis mailing list
    LogAnalysisat_private
    http://lists.shmoo.com/mailman/listinfo/loganalysis
    



    This archive was generated by hypermail 2b30 : Sun Dec 29 2002 - 17:44:55 PST