Blame SOURCES/rsyslog-8.2102.0-rhbz1866877-unexpected-length.patch

d1fb5e
diff -up rsyslog-8.2102.0/plugins/imjournal/imjournal.c.orig rsyslog-8.2102.0/plugins/imjournal/imjournal.c
d1fb5e
--- rsyslog-8.2102.0/plugins/imjournal/imjournal.c.orig	2021-06-28 09:05:23.283262154 +0200
d1fb5e
+++ rsyslog-8.2102.0/plugins/imjournal/imjournal.c	2021-06-28 09:10:05.858381106 +0200
d1fb5e
@@ -424,8 +424,8 @@ readjournal(void)
d1fb5e
 				severity = cs.iDfltSeverity;
d1fb5e
 			}
d1fb5e
 		} else {
d1fb5e
-			LogError(0, RS_RET_ERR, "The value of the 'PRIORITY' field has an "
d1fb5e
-				"unexpected length: %zu\n", length);
d1fb5e
+			DBGPRINTF("The value of the 'PRIORITY' field has an "
d1fb5e
+				"unexpected length: %zu value: '%s'\n", length, (const char*)get);
d1fb5e
 		}
d1fb5e
 	}
d1fb5e