Tue, 14 Mar 2017 00:16:01 +0100 Alexander Bluhm <alexander.bl...@gmx.net>
> On Mon, Mar 13, 2017 at 04:31:35PM -0600, Todd C. Miller wrote:
> > How about we just eliminate the "logfile turned over" message
> > entirely?  It's kind of bogus for newsyslog to be writing to the
> > log files directly.  I don't think that message provides any useful
> > info.  
> 
> Perhaps /var/log/messages was a bad example.  syslogd does not write
> the restart message into /var/log/daemon, newsyslog also rotates
> files that do not belong to syslogd.  Here is daemon log:
> 
> 2017-03-14T00:11:46+01:00 t430s newsyslog[31315]: logfile turned over
> 2017-03-13T23:12:16.690Z t430s isakmpd[95880]: sendmsg ...
> 2017-03-13T23:12:43.720Z t430s last message repeated 3 times
> 
> It is useful that log files are never empty and that you can see
> when they were rotated.
> 

Hi Alexander, Mark, Todd, tech@,

Please see the quote: https://en.wikipedia.org/wiki/ISO_8601#cite_note-21

 "ISO 8601:2004(E)". ISO. 2004-12-01. “4.3.2 NOTE: By mutual agreement of
the partners in information interchange, the character [T] may be omitted
in applications where there's no risk of confusing a date and time of day
representation with others defined in this International Standard.”

I also suggest we do not use the [Z] as a mutual agreement ALL times UTC,
indicated by omission of the offset to be human friendly and yet correct.
Please, see some additional information in the following resources pages.

https://tools.ietf.org/html/rfc3339#section-5.2
https://www.cl.cam.ac.uk/~mgk25/iso-time.html
https://www.cs.tut.fi/~jkorpela/iso8601.html#sol

Kind regards,
Anton Lazarov

Reply via email to