summaryrefslogtreecommitdiffstats
path: root/plugins/imjournal/imjournal.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imjournal/imjournal.c')
-rw-r--r--plugins/imjournal/imjournal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/imjournal/imjournal.c b/plugins/imjournal/imjournal.c
index cf5569f3..bdfc7756 100644
--- a/plugins/imjournal/imjournal.c
+++ b/plugins/imjournal/imjournal.c
@@ -149,7 +149,8 @@ readjournal() {
/* Get message text */
if (sd_journal_get_data(j, "MESSAGE", &get, &length) < 0) {
- iRet = RS_RET_OK; // XXX there should be some internal logging, need RS_RET_OK to keep reading msgs
+ logmsgInternal(NO_ERRCODE, LOG_SYSLOG|LOG_INFO, "log message from journal doesn't have MESSAGE", 0);
+ iRet = RS_RET_OK;
goto ret;
}
message = strndup(get+8, length-8);