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.
This commit is contained in:
Daan De Meyer 2023-04-24 20:55:15 +02:00
parent 7556f29694
commit afc47ee2af

View file

@ -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;
}
}