diff options
author | Sebastian Thorarensen <sebth@naju.se> | 2014-03-14 00:38:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-14 22:05:25 +0100 |
commit | 40b71e89bae4e51768db4dc50ec64c1e9c96eec4 (patch) | |
tree | 39de34bcee5d996a8e98ef792fc7201276b0cf63 /man/journald.conf.xml | |
parent | 9003d9b0d628be059922e522fd35f9c5b4d8b039 (diff) |
journald: add support for wall forwarding
This will let journald forward logs as messages sent to all logged in
users (like wall).
Two options are added:
* ForwardToWall (default yes)
* MaxLevelWall (default emerg)
'ForwardToWall' is overridable by kernel command line option
'systemd.journald.forward_to_wall'.
This is used to emulate the traditional syslogd behaviour of sending
emergency messages to all logged in users.
Diffstat (limited to 'man/journald.conf.xml')
-rw-r--r-- | man/journald.conf.xml | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/man/journald.conf.xml b/man/journald.conf.xml index a814ec1ec3..239a2ec95c 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -381,24 +381,28 @@ <term><varname>ForwardToSyslog=</varname></term> <term><varname>ForwardToKMsg=</varname></term> <term><varname>ForwardToConsole=</varname></term> + <term><varname>ForwardToWall=</varname></term> <listitem><para>Control whether log messages received by the journal daemon shall be forwarded to a traditional syslog daemon, to the - kernel log buffer (kmsg), or to the - system console. These options take - boolean arguments. If forwarding to - syslog is enabled but no syslog daemon - is running, the respective option has - no effect. By default, only forwarding - to syslog is enabled. These settings - may be overridden at boot time with - the kernel command line options + kernel log buffer (kmsg), to the + system console, or sent as wall + messages to all logged-in users. These + options take boolean arguments. If + forwarding to syslog is enabled but no + syslog daemon is running, the + respective option has no effect. By + default, only forwarding to syslog and + wall is enabled. These settings may be + overridden at boot time with the + kernel command line options <literal>systemd.journald.forward_to_syslog=</literal>, - <literal>systemd.journald.forward_to_kmsg=</literal> + <literal>systemd.journald.forward_to_kmsg=</literal>, + <literal>systemd.journald.forward_to_console=</literal> and - <literal>systemd.journald.forward_to_console=</literal>. + <literal>systemd.journald.forward_to_wall=</literal>. When forwarding to the console, the TTY to log to can be changed with <varname>TTYPath=</varname>, @@ -410,12 +414,14 @@ <term><varname>MaxLevelSyslog=</varname></term> <term><varname>MaxLevelKMsg=</varname></term> <term><varname>MaxLevelConsole=</varname></term> + <term><varname>MaxLevelWall=</varname></term> <listitem><para>Controls the maximum log level of messages that are stored - on disk, forwarded to syslog, kmsg or - the console (if that is enabled, see - above). As argument, takes one of + on disk, forwarded to syslog, kmsg, + the console or wall (if that is + enabled, see above). As argument, + takes one of <literal>emerg</literal>, <literal>alert</literal>, <literal>crit</literal>, @@ -436,9 +442,11 @@ written to disk and forwarded to syslog. Defaults to <literal>notice</literal> for - <varname>MaxLevelKMsg=</varname> and + <varname>MaxLevelKMsg=</varname>, <literal>info</literal> for - <varname>MaxLevelConsole=</varname>.</para></listitem> + <varname>MaxLevelConsole=</varname> and + <literal>emerg</literal> for + <varname>MaxLevelWall=</varname>.</para></listitem> </varlistentry> <varlistentry> |