On Mon, Jan 08, 2018 at 01:08:30PM +0100, frantisek holop wrote:
| hello and happy new year,
| 
| during the christmas holidays i have upgraded my
| openbsd servers to 6.2 and i have noticed that
| the timestamps for newsyslog 'logfile turned over' lines
| changed to something like ISO 8601:
| 
| $ zgrep turned /var/log/messages*
| messages:2017-12-31T23:00:01.258Z selene newsyslog[32157]: logfile turned over
| messages.0.gz:Dec  1 00:00:01 selene newsyslog[4410]: logfile turned over
| messages.0.gz:2017-12-31T23:00:01.258Z selene newsyslog[32157]: logfile 
turned over
| messages.1.gz:Nov  1 00:00:01 selene newsyslog[27587]: logfile turned over
| messages.1.gz:Dec  1 00:00:01 selene newsyslog[4410]: logfile turned over
| messages.2.gz:Oct  1 00:00:01 selene newsyslog[73773]: logfile turned over
| messages.2.gz:Nov  1 00:00:01 selene newsyslog[27587]: logfile turned over
| 
| i have a monthly rotation set up in newsyslog.conf
| 
| is anybody else seeing this?

Yep, was by design.

See the -Z option to syslogd.  Note that the logfile turned over entry
is not written by syslogd but by newsyslog, see revision 1.102 of
newsyslog.c:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/newsyslog/newsyslog.c

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to