From 884202fc1dcf1600c801ca68311530feee2fc1c2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 15 Feb 2021 23:31:54 +0100 Subject: [PATCH] journalctl: rotation is not a reason to warn, but certainly noteworthy Downgrade the phrasing, since it is a bit misleading. Fixes: #18465 (cherry picked from commit 71311efe2377d7e37a6af76f110882eed2332f4e) --- src/shared/logs-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 840f221fff..def6afb987 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -1407,7 +1407,7 @@ int show_journal( if (line == 0 && noaccess) fprintf(f, "Warning: some journal files were not opened due to insufficient permissions."); else if (!noaccess) - fprintf(f, "Warning: journal has been rotated since unit was started, output may be incomplete.\n"); + fprintf(f, "Notice: journal has been rotated since unit was started, output may be incomplete.\n"); else fprintf(f, "Warning: journal has been rotated since unit was started and some journal " "files were not opened due to insufficient permissions, output may be incomplete.\n"); -- 2.25.1