[patch] new option for syslogd to include year in log timestamps
Joshua Judson Rosen
jrosen at harvestai.com
Wed Mar 28 15:53:51 UTC 2012
On 22/03/12 14:49, Joshua Judson Rosen wrote:
> Attached is a patch adding a config-option to have syslogd include the year
> in the timestamps that it writes. I've found that this is useful for
> long-running systems that don't have a sysadmin watching them most of
> the time. Probably other people would also find it useful.
Uh, OK--that patch was really wrong (if something seems too easy..., maybe it is).
Here's a version that takes into account the fact that libc's syslog() generates
its own timestamps, and overrides them if they're present in incoming messages.
--
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-full-timestamps.patch
Type: text/x-patch
Size: 2228 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20120328/b00180dc/attachment.bin>
More information about the busybox
mailing list