diff options
author | Marius Tomaschewski <mt@suse.de> | 2012-11-21 13:47:19 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-21 18:15:00 +0100 |
commit | f040bde7a0454dfbc7def36a288bc70c58d878af (patch) | |
tree | 8b440c269ad2817aeb4553649c0234a7a1732817 /doc/imklog.html | |
parent | 318a6fb577a6e5af558b70232bb0a19871399d13 (diff) | |
download | rsyslog-f040bde7a0454dfbc7def36a288bc70c58d878af.tar.gz rsyslog-f040bde7a0454dfbc7def36a288bc70c58d878af.tar.bz2 rsyslog-f040bde7a0454dfbc7def36a288bc70c58d878af.zip |
imklog: added $klogParseKernelTimestamp option
When enabled, kernel message [timestamp] is converted for message time.
Default is to use receive time as in 5.8.x and before, because the clock
used to create the timestamp is not supposed to be as accurate as the
monotonic clock (depends on hardware and kernel) resulting in differences
between kernel and system messages which occurred at same time.
Diffstat (limited to 'doc/imklog.html')
-rw-r--r-- | doc/imklog.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/imklog.html b/doc/imklog.html index 268c661a..05292ddf 100644 --- a/doc/imklog.html +++ b/doc/imklog.html @@ -65,10 +65,18 @@ Linux only, ignored on other platforms (but may be specified)</li> former klogd -2 option<br> Linux only, ignored on other platforms (but may be specified)<br style="font-weight: bold;"> </li> +<li><b>$klogParseKernelTimestamp</b> [on/<b>off</b>] +If enabled and the kernel creates a timestamp for its log messages, this timestamp will be +parsed and converted into regular message time instead to use the receive time of the kernel +message (as in 5.8.x and before). Default is to not parse the kernel timestamp, because the +clock used by the kernel to create the timestamps is not supposed to be as accurate as the +monotonic clock required to convert it. Depending on the hardware and kernel, it can result +in message time differences between kernel and system messages which occurred at same time. +</li> <li><b>$klogKeepKernelTimestamp</b> [on/<b>off</b>] If enabled, this option causes to keep the [timestamp] provided by the kernel at the begin of in each message rather than to remove it, when it could be parsed and converted into -local time for use as regular message time. +local time for use as regular message time. Only used, when $klogParseKernelTimestamp is on. </li> </ul> <b>Caveats/Known Bugs:</b> |