-----Original Message----- From: Ronald Wiplinger [mailto:ronald@elmit.com] Sent: Wednesday, September 27, 2006 11:59 PM To: suse-linux-e@suse.com Subject: Re: [SLE] How to set syslog.conf in SuSE 10.1
Darryl Gregorash wrote:
On 27/09/06 19:39, Ronald Wiplinger wrote:
Below is a description of a syslog configuration. I do not
have
syslog.conf. How do I do that in SuSE 10.1 ???
By default, SuSE (since at least 9.3) uses syslog-ng, which is a lot better than the old syslog. Look in /etc/syslog-ng/ for the config files.
Thanks, but still not working. I have added in syslog-ng.conf.in:
filter f_openser { facility(local7; };
destination openser { file("/var/log/openser"); }; log { source(src); filter(f_openser); destination(openser); };
-rw-r--r-- 1 root root 5479 Sep 10 20:26 syslog-ng.conf -rw-r--r-- 1 root root 5717 Sep 28 11:45 syslog-ng.conf.in
I restarted both # kill -9 10038 10046 # /sbin/klogd -c 1 -x -x # /sbin/syslog-ng
there is nothing in /var/log/openser
What do I miss?
Do `SuSEconfig` That reads in the /etc/syslog-ng/syslog-ng.conf.in and /etc/sysconfig/syslog files, and creates the combined file.