diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-02-27 15:35:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-02-28 09:32:42 +0100 |
commit | d6df3bfbb82330fc0e2f90c5455bfe2a89d67477 (patch) | |
tree | 1fcea021de092e2b4e82ec9fc185f25039828acb /src/journal | |
parent | systemctl: print better message if default target is masked (diff) | |
download | systemd-d6df3bfbb82330fc0e2f90c5455bfe2a89d67477.tar.xz systemd-d6df3bfbb82330fc0e2f90c5455bfe2a89d67477.zip |
journald: make sure shall_try_append_again() logs about all return codes passed in, not just some
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journald-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index de08c4e965..ec784c957f 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -894,6 +894,7 @@ static bool shall_try_append_again(JournalFile *f, int r) { return false; default: + log_ratelimit_error_errno(r, JOURNAL_LOG_RATELIMIT, "%s: Unexpected error while writing to journal file: %m", f->path); return false; } } |