Skip to content

Commit

Permalink
Log failure to set journal data field size threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
cgzones committed Oct 21, 2024
1 parent 81e8ae2 commit 934a09f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/netlog/netlog-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,9 @@ static int manager_journal_monitor_listen(Manager *m) {
if (r < 0)
return r;

sd_journal_set_data_threshold(m->journal, 0);
r = sd_journal_set_data_threshold(m->journal, 0);
if (r < 0)
log_warning_errno(r, "Failed to set journal data field size threshold");

m->journal_watch_fd = sd_journal_get_fd(m->journal);
if (m->journal_watch_fd < 0)
Expand Down

0 comments on commit 934a09f

Please sign in to comment.