Date: Sun, 26 Jul 2009 23:20:23 -0600 From: Modulok <modulok@gmail.com> To: Dan Nelson <dnelson@allantgroup.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Syslog date format Message-ID: <64c038660907262220w3eeca9d9h2fb41fac6cbe4bfc@mail.gmail.com> In-Reply-To: <20090727030023.GV63413@dan.emsphone.com> References: <64c038660907261640o478e38f2p82d1e66942d2fcb0@mail.gmail.com> <20090727030023.GV63413@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
One would think that ISO 8601 date strings would make more sense, in addition not being language dependent. But I guess that's out. Thanks anyway! -Modulok- On 7/26/09, Dan Nelson <dnelson@allantgroup.com> wrote: > In the last episode (Jul 26), Modulok said: >> Is it possible (without patching source) to change the date format >> that syslog spits out into the log files? If so, how? The manual page >> makes no mention of it. > > No, if you want to change it you'd have to edit the source. Note that the > current date format matches RFC 3164, so if you change it, you risk breaking > any parsing program that tries to read the logfiles, and if you forward > those messages to another machine, they won't recognise your timestamp and > will probably add another timestamp to the line. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64c038660907262220w3eeca9d9h2fb41fac6cbe4bfc>