summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-15 23:31:54 +0100
committerVito Caputo <vcaputo@pengaru.com>2021-02-15 14:41:57 -0800
commit71311efe2377d7e37a6af76f110882eed2332f4e (patch)
tree721bd6b0e97d139ba4b449612a6ae9d8e8089385 /src/shared/logs-show.c
parent83ce3b19447c417a681f8bb90d8cd1aabdf9ade0 (diff)
downloadsystemd-71311efe2377d7e37a6af76f110882eed2332f4e.tar.gz
journalctl: rotation is not a reason to warn, but certainly noteworthy
Downgrade the phrasing, since it is a bit misleading. Fixes: #18465
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index e60ee50e1c..948bdb5ce9 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -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");