Blame SOURCES/rsyslog-8.24.0-doc-rhbz1538372-imjournal-duplicates.patch

c17bfd
From 1dbb68f3dc5c7ae94bdea5ad37296cbc2224e92b Mon Sep 17 00:00:00 2001
c17bfd
From: Jiri Vymazal <jvymazal@redhat.com>
c17bfd
Date: Wed, 25 Jul 2018 14:24:57 +0200
c17bfd
Subject: [PATCH] Added WorkAroundJournalBug parameter
c17bfd
c17bfd
this is documentation for rsyslog/rsyslog#2543
c17bfd
---
c17bfd
 source/configuration/modules/imjournal.rst | 7 +++++++
c17bfd
 1 file changed, 7 insertions(+)
c17bfd
c17bfd
diff --git a/source/configuration/modules/imjournal.rst b/source/configuration/modules/imjournal.rst
c17bfd
index 2530ddfe..85ca9e7d 100644
c17bfd
--- a/source/configuration/modules/imjournal.rst
c17bfd
+++ b/source/configuration/modules/imjournal.rst
c17bfd
@@ -99,6 +99,13 @@ -  **usepidfromsystem** [**off**/on]
c17bfd
    Retrieves the trusted systemd parameter, _PID, instead of the user 
c17bfd
    systemd parameter, SYSLOG_PID, which is the default.
c17bfd
 
c17bfd
+-  **WorkAroundJournalBug** [**off**/on]
c17bfd
+
c17bfd
+    When journald instance rotates its files it is possible that duplicate records 
c17bfd
+    appear in rsyslog. If you turn on this option imjournal will keep track of cursor
c17bfd
+    with each message to work around this problem. Be aware that in some cases this
c17bfd
+    might result in imjournal performance hit.
c17bfd
+
c17bfd
 **Caveats/Known Bugs:**
c17bfd
 
c17bfd
 - As stated above, a corrupted systemd journal database can cause major