Skip to content

Commit 205dbe6

Browse files
committed
Actually respect UseSysLogStructuredData= and UseSysLogMsgId= settings
1 parent af439c9 commit 205dbe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/netlog/netlog-manager.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ static int manager_read_journal_input(Manager *m) {
198198
message, hostname,
199199
pid,
200200
r >= 0 ? &tv : NULL,
201-
structured_data,
202-
msgid);
201+
m->structured_data ? structured_data : NULL,
202+
m->syslog_msgid ? msgid : NULL);
203203
}
204204

205205
static int update_cursor_state(Manager *m) {

0 commit comments

Comments
 (0)