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

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