Have you managed to log any kernel messages with syslog-ng? I have tried almost anything already. What I have is latest version of syslog-ng and redhat-6.1 klogd running.
I've just checked, and it does write kernel messages to the appropriate file.
and on other console.. [root@cyrex /root]# klogd [root@cyrex /root]# [root@cyrex /root]# logger -p kern.info somemessage and on first console.. io.c: Preparing fd 4 for reading io.c: Preparing fd 5 for writing io.c: Preparing fd 6 for writing io.c: Preparing fd 7 for writing io.c: Preparing fd 8 for writing io.c: Preparing fd 9 for writing Read EOF on fd 4. Marking fd 4 for closing. Closing fd 4. Garbage collecting while idle... Objects alive: 160, garbage collected: 5
.. and surprise: [root@cyrex syslog-ng-1.4.3]# tail /var/log/syslog -n 1 Apr 28 11:05:27 cyrex tontsa: somemessage [root@cyrex syslog-ng-1.4.3]# tail /var/log/kern.log -n 1
Shows up nothing. Any ideas? I'm almost willing to try anything :). Normal syslog kills my machine when I'm running syslog intensive jobs and printk() logging isn't nice to look when klogd -f /somefile is run.
hmm.. try an strace dump of klogd, and check the priority value it sends to syslog-ng. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (1)
-
Balazs Scheidler