On Mon, May 8, 2017 at 11:45 PM, Shiz <[email protected]> wrote: > Some syslog() implementations like musl's[1] always send timestamps in UTC. > This change adds a new option to syslogd, -Z, to assume incoming timestamps > are always UTC and adjust them to the local timezone (of the syslogd) before > logging.
I'm not sure about this. Unfortunately, syslog() API has no defined rules on how timestamps are produced and formatted. How do we know that strptime(msg, "%b %e %T", &nowtm) will work to parse timestamp? _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
