Subject: Re: RFC: enhancement to syslogd - always printing local time
To: None <tech-userlevel@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-userlevel
Date: 01/20/2006 10:52:32
On Sun, Jan 15, 2006 at 11:51:45PM +1100, Luke Mewburn wrote:
> On Mon, Jan 09, 2006 at 11:09:33PM +0100, Pavel Cahyna wrote:
>   | syslogd has currently an undocumented feature - if it does not recognize
>   | the timestamp field in the received message, it generates it, based on the
>   | local time.
>   | 
>   | I would like to optionally generate timestamp field for all messages
>   | received from network, regardless of validity of the timestamp field.
>   | 
>   | I expect that such a feature can be generally useful, especially for the
>   | first reason. (Devices that don't keep time properly must be quite common.)
>   | So here is a patch which implements a -T option, causing syslogd to
>   | generate a timestamp field for all messages received over the network.
>   | 
>   | Is it worth integrating in NetBSD sources?
> 
> I like the idea.

I submitted the patch in a PR: bin/32579.

Pavel Cahyna