summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/imklog.h
diff options
context:
space:
mode:
authorMarius Tomaschewski <mt@suse.de>2012-11-21 13:47:19 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-21 18:15:00 +0100
commitf040bde7a0454dfbc7def36a288bc70c58d878af (patch)
tree8b440c269ad2817aeb4553649c0234a7a1732817 /plugins/imklog/imklog.h
parent318a6fb577a6e5af558b70232bb0a19871399d13 (diff)
downloadrsyslog-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 'plugins/imklog/imklog.h')
-rw-r--r--plugins/imklog/imklog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imklog/imklog.h b/plugins/imklog/imklog.h
index 03fb9735..c93a53b5 100644
--- a/plugins/imklog/imklog.h
+++ b/plugins/imklog/imklog.h
@@ -52,6 +52,7 @@ extern char *symfile;
extern int console_log_level;
extern int dbgPrintSymbols;
extern uchar *pszPath;
+extern int bParseKernelStamp;
extern int bKeepKernelStamp;
/* the functions below may be called by the drivers */