[syslog-ng] New Linux Kernel message hi resolution timestamps.

Matthew Hall mhall at mhcomputing.net
Wed Jan 26 22:48:15 CET 2011


On Wed, Jan 26, 2011 at 01:11:42PM -0800, Evan Rempel wrote:
> I realize that this is not specific to syslog-ng, but was not sure where to turn.
> 
> Starting with a fairly recent linux kernel (perhaps 2.6.30) the messages sent
> via /dev/kmsg have the format
> 
> [167007.168017] ... some text ...
> 
> where these numbers seem to be seconds.microseconds since the last boot.
> 
> Is there any way to configure the linux kernel to NOT put this detail in messages?
> 
> Thanks.

At least it used to be possible to do so.

Try looking here in the kernel configuration utilities.

Perhaps if you read the code you might find a sysctl to do it without rebuilding.

Kernel hacking
    [*] Show timing information on printks

Matthew.



More information about the syslog-ng mailing list