From dc30dd7530cee426bbb30425e255868ffa635c13 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 1 Sep 2018 01:12:46 +0200 Subject: Add tiny klogd implementation Signed-off-by: David Oberhollenzer --- docs/defconfig.md | 4 +++- docs/usyslogd.md | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/defconfig.md b/docs/defconfig.md index 10263ba..41afc02 100644 --- a/docs/defconfig.md +++ b/docs/defconfig.md @@ -55,8 +55,10 @@ the `vfs` target and *before* the `sysinit` target: * hostname - reload hostname `/etc/hostname` * loopback - bring the loopback device up - * usyslogd - if the `usyslogd` services is compiled with this package, this + * usyslogd - if the `usyslogd` service is compiled with this package, this service is enabled by default and starts `usyslogd`. + * klogd - if the `klogd` daemon is compiled with this package, this service + is enabled by default and starts after `usyslogd`. * modules - iterate over the file `/etc/modules` and try to load each module using modprobe. * sysctl - restore kernel parameters using `sysctl --system`. See `sysctl(8)` diff --git a/docs/usyslogd.md b/docs/usyslogd.md index 96f5755..525c475 100644 --- a/docs/usyslogd.md +++ b/docs/usyslogd.md @@ -12,6 +12,15 @@ the log messages into files in the processes working directory (by default A simple log rotation scheme has been implemented. +## Kernel Message Logging + +An additional small `klogd` daemon is provided that redirects kernel messages +to the syslog daemon. + +It can be enabled or disabled independently of the `usyslogd` daemon and is +designed to work with any other syslogd implementation. + + ## Security Considerations By default, the daemon switches its working directory to `/var/log`. The -- cgit v1.2.3