chiark / gitweb /
journald: add support for wall forwarding
authorSebastian Thorarensen <sebth@naju.se>
Thu, 13 Mar 2014 23:38:15 +0000 (00:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Mar 2014 21:05:25 +0000 (22:05 +0100)
commit40b71e89bae4e51768db4dc50ec64c1e9c96eec4
tree39de34bcee5d996a8e98ef792fc7201276b0cf63
parent9003d9b0d628be059922e522fd35f9c5b4d8b039
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.
13 files changed:
Makefile.am
man/journald.conf.xml
man/kernel-command-line.xml
man/systemd-journald.service.xml
src/journal/journald-gperf.gperf
src/journal/journald-native.c
src/journal/journald-server.c
src/journal/journald-server.h
src/journal/journald-stream.c
src/journal/journald-syslog.c
src/journal/journald-wall.c [new file with mode: 0644]
src/journal/journald-wall.h [new file with mode: 0644]
src/journal/journald.conf