summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-server.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-04-24 20:55:15 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-04-25 07:31:40 +0200
commitafc47ee2af456d12670df862457dcc7f6b864d79 (patch)
treed4bb586ff1a8feb882d84969fbef238ba928f2dc /src/journal/journald-server.c
parentMerge pull request #27386 from dtardon/test-cleanup (diff)
downloadsystemd-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.c7
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;
}
}