Skip to content

Commit e0a7747

Browse files
authored
Merge pull request #107 from ssahani/misc
Log: Print MESSAGE= as log debug
2 parents 85cacff + 2ef790c commit e0a7747

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/netlog/netlog-manager.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ static int manager_read_journal_input(Manager *m) {
165165
if (!message) {
166166
log_debug("Skipping message without MESSAGE= field.");
167167
return 0;
168-
}
168+
} else
169+
log_debug("Received from journal MESSAGE='%s'", message);
169170

170171
r = sd_journal_get_realtime_usec(m->journal, &realtime);
171172
if (r < 0)

0 commit comments

Comments
 (0)