journald.conf.xml revision c305c32580a1d7689a401e8cf673ec7936c12bbe
19d8729755d7f4d9503029a628dacbbdabcd2264wrowe<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe This file is part of systemd.
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe Copyright 2010 Lennart Poettering
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe systemd is free software; you can redistribute it and/or modify it
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe under the terms of the GNU Lesser General Public License as published by
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe the Free Software Foundation; either version 2.1 of the License, or
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe (at your option) any later version.
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe systemd is distributed in the hope that it will be useful, but
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe WITHOUT ANY WARRANTY; without even the implied warranty of
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe Lesser General Public License for more details.
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe You should have received a copy of the GNU Lesser General Public License
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe along with systemd; If not, see <http://www.gnu.org/licenses/>.
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <refentryinfo>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <authorgroup>
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe </authorgroup>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe </refentryinfo>
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe <refnamediv>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <refpurpose>Journal service configuration file</refpurpose>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe </refnamediv>
37ad54b8fd2611b7a4f2b269eec3d27ed784a25dwrowe <refsynopsisdiv>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <para><filename>/etc/systemd/journald.conf</filename></para>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe </refsynopsisdiv>
94b262d3639149df0b02642a9daa6db8bff58577wrowe <para>This file configures various parameters of the
94b262d3639149df0b02642a9daa6db8bff58577wrowe systemd journal service,
94b262d3639149df0b02642a9daa6db8bff58577wrowe <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
94b262d3639149df0b02642a9daa6db8bff58577wrowe </refsect1>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <para>All options are configured in the
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe <variablelist>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <varlistentry>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe store journal data. One of
4439ba95daf7b82794fe338726790e2dab89d119wrowe log data will be stored only in
37ad54b8fd2611b7a4f2b269eec3d27ed784a25dwrowe memory, i.e. below the
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe hierarchy (which is created if
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe needed). If
94b262d3639149df0b02642a9daa6db8bff58577wrowe be stored preferably on disk,
94b262d3639149df0b02642a9daa6db8bff58577wrowe hierarchy (which is created if
94b262d3639149df0b02642a9daa6db8bff58577wrowe needed), with a fallback to
94b262d3639149df0b02642a9daa6db8bff58577wrowe (which is created if needed), during
94b262d3639149df0b02642a9daa6db8bff58577wrowe early boot and if the disk is not
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe is not created if needed, so that its
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe existence controls where log data
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe off all storage, all log data received
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe will be dropped. Forwarding to other
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe targets, such as the console, the
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe kernel log buffer or a syslog daemon
990e1969a428b8844e07aad088df41340cd009d4wrowe will still work however. Defaults to
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe </varlistentry>
990e1969a428b8844e07aad088df41340cd009d4wrowe <varlistentry>
990e1969a428b8844e07aad088df41340cd009d4wrowe value. If enabled (the default), data
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe objects that shall be stored in the
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe journal and are larger than a certain
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe threshold are compressed with the XZ
990e1969a428b8844e07aad088df41340cd009d4wrowe compression algorithm before they are
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe written to the file
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe </varlistentry>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe <varlistentry>
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe value. If enabled (the default), and a
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe sealing key is available (as created
4439ba95daf7b82794fe338726790e2dab89d119wrowe <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
4439ba95daf7b82794fe338726790e2dab89d119wrowe command), Forward Secure Sealing (FSS)
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe for all persistent journal files is
e222f356e5328e9e4e91054ac080888d34ac5ea4wrowe enabled. FSS is based on <ulink
url="https://eprint.iacr.org/2013/397">Seekable
rotation, i.e. deletion of historic
<citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.journal-fields</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>