dracut/modules.d/98syslog
Đoàn Trần Công Danh 09d2a1605b remove bashism in various boot scripts
When using dash as initramfs shell, the boot process is broken.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
2019-01-07 12:01:55 +01:00
..
README Fixed some SUSE specific typos and outputs 2018-11-08 14:43:08 +01:00
module-setup.sh add imjournal.so to read systemd journal 2016-10-11 08:51:13 -04:00
parse-syslog-opts.sh all: fix issues found by shellcheck 2018-03-02 13:41:43 +01:00
rsyslog.conf Syslog support for dracut 2009-08-19 10:40:02 +02:00
rsyslogd-start.sh remove bashism in various boot scripts 2019-01-07 12:01:55 +01:00
rsyslogd-stop.sh source dracut-lib for warn() 2016-10-11 08:43:20 -04:00
syslog-cleanup.sh remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00

README

Syslog support for dracut

This module provides syslog functionality in the initrd.
This is especially interesting when complex configuration being
used to provide access to the device the rootfs resides on.

When this module is installed into the ramfs it is triggered by
the udev event from the nic being setup (online).

Then if syslog is configured it is started and will forward all
kernel messages to the given syslog server.

The syslog implementation is detected automatically by finding the
appropriate binary with the following order:
rsyslogd
syslogd
syslog-ng
Then if detected the syslog.conf is generated and syslog is started.

Bootparameters:
syslogserver=ip    Where to syslog to
sysloglevel=level  What level has to be logged
syslogtype=rsyslog|syslog|syslogng
                   Don't auto detect syslog but set it