]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journalctl: rotation is not a reason to warn, but certainly noteworthy
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Feb 2021 22:31:54 +0000 (23:31 +0100)
committerVito Caputo <vcaputo@pengaru.com>
Mon, 15 Feb 2021 22:41:57 +0000 (14:41 -0800)
Downgrade the phrasing, since it is a bit misleading.

Fixes: #18465
src/shared/logs-show.c

index e60ee50e1cbcb218f2bd9c17f58ada94cfbae764..948bdb5ce9576993b296059f5849ec76b43d6306 100644 (file)
@@ -1398,7 +1398,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");