The syslog-ng application can replace both the syslogd and klogd daemons on Linux hosts. To replace klogd, complete the following steps:
Procedure 7.3. Replacing klogd on Linux
Add a file source pointing to /proc/kmsg to the syslog-ng
configuration file.
source s_kmsg { file("/proc/kmsg"); };
![]() |
Warning |
|---|---|
Do not use a pipe source to read |
Include the source defined in Step 1 in a log path.
Stop klogd.
![]() |
Warning |
|---|---|
Do not run klogd and syslog-ng simultaneously when using syslog-ng to read
|
© 2007-2008 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com