Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugins/in_systemd/systemd_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ struct flb_systemd_config *flb_systemd_config_create(struct flb_input_instance *
* up to 4096/25*2 ~= 350 old log messages. See also fluent-bit PR #1565.
*/
ret = sd_journal_next_skip(ctx->j, 350);
sd_journal_previous(ctx->j);
flb_plg_debug(ctx->ins,
"jump to the end of journal and skip %d last entries", ret);
}
Expand Down