diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-04-24 20:55:15 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-04-25 07:31:40 +0200 |
commit | afc47ee2af456d12670df862457dcc7f6b864d79 (patch) | |
tree | d4bb586ff1a8feb882d84969fbef238ba928f2dc /src/journal/journald-server.c | |
parent | Merge pull request #27386 from dtardon/test-cleanup (diff) | |
download | systemd-afc47ee2af456d12670df862457dcc7f6b864d79.tar.xz systemd-afc47ee2af456d12670df862457dcc7f6b864d79.zip |
Drop log level of header limits log message
Especially when using in-memory logging, these are too noisy so
let's drop them back to debug level.
Diffstat (limited to '')
-rw-r--r-- | src/journal/journald-server.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 7be3763f15..47f1d8b504 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -935,10 +935,9 @@ static void server_write_to_journal( if (!f) return; - if (journal_file_rotate_suggested(f->file, s->max_file_usec, LOG_INFO)) { - log_ratelimit_info(JOURNAL_LOG_RATELIMIT, - "%s: Journal header limits reached or header out-of-date, rotating.", - f->file->path); + if (journal_file_rotate_suggested(f->file, s->max_file_usec, LOG_DEBUG)) { + log_debug("%s: Journal header limits reached or header out-of-date, rotating.", + f->file->path); rotate = true; } } |