Re: syslog-ng
-> > For some reason when I upgraded to syslog-ng some time ago (removing
-> > sysklogd) my kern.log stopped showing. My syslog-ng.conf file seems to
-> > include a kern.log
->
-> Yep. That happened to me too. Somebody, somewhere, sometime,
-> posted a solution that helped me to get it working back again.
->
-> All you need to do is to change the "source" line for the kernel
-> log in syslog-ng.conf:
->
-> source src { unix-dgram("/dev/log"); internal(); };
->
-> Needs to be changed to
->
-> source src {
-> internal();
-> unix-stream("/dev/log");
-> file("/proc/kmsg");
-> };
Pardon?
I had the same problem and I found out that klogd is not able to log to
stream, therefore i needed to change unig-stream to unig-dgram.
I didn't need to specify them on separate lines.
--
Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I don't wish to receive spam to this address.
Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol.
Reply to: