Add option -Z to syslogd(8) to use ISO 8601 timestamps

Julian Elischer julian at freebsd.org
Sun Apr 1 03:25:41 UTC 2018


On 1/4/18 8:27 am, Ben Woods wrote:
> Hi everyone,
>
> Please review my patch to add the -Z option to syslogd(8) to use ISO 8601
> timestamps in UTC:

YES!
  I was just looking into doing this myself..

Just goes to show that if one procrastinates enough, someone else will 
do the work!

is there a matching change for syslog(3) to actually generate new 
timestamps?

The syslog protocol is unique that either end can be responsible for 
the timestamp.

In the case of the new timestamp form you would have to strip off the 
incoming old form timestamp and replace it.





More information about the freebsd-hackers mailing list