The following reply was made to PR bin/166448; it has been noted by GNATS. From: Marco Steinbach <[email protected]> To: [email protected] Cc: [email protected] Subject: Re: bin/166448: [patch] newsyslog(8): newsyslog -t fails to find previous rotated log Date: Wed, 23 May 2012 21:56:51 +0200
I'm running into this, also. Logrotation is done upon every invocation of newsyslog(8), if 'when' is given as purely numerical hour interval, and an alternate timeformat is used. E.g.: p90a1# newsyslog -t %Y%m%d_%H%M%S p90a1# ls -1 /var/log/sendmail.st.20* /var/log/sendmail.st.20120523_201321 p90a1# newsyslog -t %Y%m%d_%H%M%S p90a1# ls -1 /var/log/sendmail.st.20* /var/log/sendmail.st.20120523_201321 /var/log/sendmail.st.20120523_201343 I've been successfuly using Eugenes patch against newsyslog(8) for about 24 hours now on 8.3 and 9.0 (second hunk needs to be moved for patching 9) i386/amd64 systems, tossing quite some logs around with and without using alternate timeformats. MfG CoCo _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
