diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-07-01 20:17:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-02 10:43:57 +0200 |
commit | e156d769c3ee756cdb20f8522ace9ea459a82655 (patch) | |
tree | 478af421d4a2b6274cc086a28c89a4471b1d1a99 /man/journald.conf.xml | |
parent | 29252e9e5bad3b0bcfc45d9bc761aee4b0ece1da (diff) |
journald: add Storage= setting to control where the journal is stored
Diffstat (limited to 'man/journald.conf.xml')
-rw-r--r-- | man/journald.conf.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/man/journald.conf.xml b/man/journald.conf.xml index deb2344fc0..72d81fbdf4 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -286,6 +286,46 @@ traditional syslog service. </para></listitem> </varlistentry> + + <varlistentry> + <term><varname>Storage=</varname></term> + + <listitem><para>Controls where to + store journal data. One of + <literal>volatile</literal>, + <literal>permanent</literal>, + <literal>auto</literal> and + <literal>none</literal>. If + <literal>volatile</literal> journal + log data will be stored only in + memory, i.e. below the + <filename>/run/log/journal</filename> + hierarchy (which is created if + needed). If + <literal>permanent</literal> data will + be stored preferably on disk, + i.e. below the + <filename>/var/log/journal</filename> + hierarchy (which is created if + needed), with a fallback to + <filename>/run/log/journal</filename> + (which is created if needed), during + early boot and if the disk is not + writable. <literal>auto</literal> is + similar to + <literal>permanent</literal> but the + directory + <filename>/var/log/journal</filename> + is not created if needed, so that its + existance controls where log data + goes. <literal>none</literal> turns + off all storage, all log data received + will be dropped. Forwarding to other + targets, such as the console, the + kernel log buffer or a syslog daemon + will still work however. Defaults to + <literal>auto</literal>.</para></listitem> + </varlistentry> </variablelist> </refsect1> |