Skip to content

Commit 11b3364

Browse files
committed
Actually respect UseSysLogStructuredData= and UseSysLogMsgId= settings
1 parent 176f3db commit 11b3364

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
@@ -199,8 +199,8 @@ static int manager_read_journal_input(Manager *m) {
199199
message, hostname,
200200
pid,
201201
r >= 0 ? &tv : NULL,
202-
structured_data,
203-
msgid);
202+
m->structured_data ? structured_data : NULL,
203+
m->syslog_msgid ? msgid : NULL);
204204
}
205205

206206
static int update_cursor_state(Manager *m) {

0 commit comments

Comments
 (0)