syslog-ng 1.3.10.. kern coming up user.
I have configured my local client and my loghost to use syslog-ng v 1.3.10. The client is setup to send all syslog messages to the loghost and the loghost then breaks them apart mainly by facility. What I am seeing is that when I issue a "logger -p kern.notice testing kern.notice" it shows up locally as a user message. Here is the client config file: source local { sun-streams("/dev/log" door("/etc/.syslog_door")); internal(); }; destination all { file("/var/log/messages"); }; filter kernfilter { facility(kern); }; filter f_user { facility(user); }; destination loghost { udp("sysloguser" port(514)); }; destination ttys { usertty("*"); }; destination kern { file ("/var/log/kern"); }; destination user { file ("/var/log/user"); }; log { source(local); destination(all); }; log { source(local); destination(loghost); }; log { source(local); filter(kernfilter); destination(kern); }; log { source(local); filter(f_user); destination(user); }; -- John C. Wingenbach Broadband Technologies Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
is it possible to do a destination such as destination d {file("| some_script"); }; ? Chris Scheller System/Network Administration Network One Internet, inc. http://www.networkone.net/ 1.888.GOT-NET1
On Mon, Dec 20, 1999 at 02:05:47PM -0800, Chris Scheller wrote:
is it possible to do a destination such as destination d {file("| some_script"); }; ?
destination d_prg { program("somescript"); }; or destination d_pipe { pipe("pipe"); }; and read the messages from the given named pipe. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (3)
-
Balazs Scheidler
-
Chris Scheller
-
John Wingenbach