summaryrefslogtreecommitdiffstats
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-07 16:23:45 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-08 09:33:02 +0200
commitcad8fa471b9133f38fbd6ddb6ee143f361525e5d (patch)
treed6e46b5dd801af7514ab59a13e9ad51c936d82f3 /man/journalctl.xml
parentsd-journal: when SD_JOURNAL_CURRENT_USER is set, and called from system UID, ... (diff)
downloadsystemd-cad8fa471b9133f38fbd6ddb6ee143f361525e5d.tar.xz
systemd-cad8fa471b9133f38fbd6ddb6ee143f361525e5d.zip
man: document that journalctl --user requires Storage=persistent
Fixes: #25061
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 683cb61249..969bcaec01 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -119,7 +119,11 @@
</para>
<para>The <option>--user</option> option affects how <option>--unit=</option> arguments are
- treated. See <option>--unit=</option>.</para></listitem>
+ treated. See <option>--unit=</option>.</para>
+
+ <para>Note that <option>--user</option> only works if persistent logging is enabled, via the
+ <varname>Storage=</varname> setting in
+ <citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem>
</varlistentry>
<varlistentry>