[syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no logging
Weidner, Erich
syslog-ng@lists.balabit.hu
Mon, 4 Aug 2003 13:56:16 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C35AC2.76DC7320
Content-Type: text/plain
I'm unable to get messages into /var/log/messages with logger.
I've compiled and installed syslog-ng 1.6rc3,
I've the following config. (modified the contrib/syslong-ng.conf.Redhat)
config file.
Relavent lies of it are:
source s_sys { pipe ("proc/kmsg" log_prefix"kernel: ")); unix-dgram
("/dev/log"); internal(); };
filter f_fileter2 { level(info .. emerg) and not (facility(mail) or
facility(authpriv) or facility(cron)); };
log { source(s_sys); filter(f_filter2); destination(d_mesg); };
I've tried the following: logger -p daemon.crit "Testing, Hello?"
and various others such as user.crit user.warn, etc. Nothing.
Syslog-ng does however log the fact that it starts and stops (at least after
I edited the default filter to be (info .. emerg) instead of just (info)
I also see a few entries for STATS: dropped 0.
Help!
-Erich
------_=_NextPart_001_01C35AC2.76DC7320
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Redhat 7.2, syslog-ng 1.6 and logger, and no logging</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>I'm unable to get messages into /var/log/messages =
with logger.</FONT>
</P>
<P><FONT SIZE=3D2>I've compiled and installed syslog-ng 1.6rc3,</FONT>
</P>
<P><FONT SIZE=3D2>I've the following config. (modified the =
contrib/syslong-ng.conf.Redhat) config file.</FONT>
</P>
<P><FONT SIZE=3D2>Relavent lies of it are:</FONT>
</P>
<P><FONT SIZE=3D2>source s_sys { pipe ("proc/kmsg" =
log_prefix"kernel: ")); unix-dgram ("/dev/log"); =
internal(); };</FONT>
</P>
<P><FONT SIZE=3D2>filter f_fileter2 { level(info .. emerg) and not =
(facility(mail) or facility(authpriv) or facility(cron)); };</FONT>
</P>
<P><FONT SIZE=3D2>log { source(s_sys); filter(f_filter2); =
destination(d_mesg); };</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>I've tried the following: logger -p daemon.crit =
"Testing, Hello?"</FONT>
<BR><FONT SIZE=3D2>and various others such as user.crit user.warn, etc. =
Nothing.</FONT>
<BR><FONT SIZE=3D2>Syslog-ng does however log the fact that it starts =
and stops (at least after I edited the default filter to be (info .. =
emerg) instead of just (info)</FONT></P>
<P><FONT SIZE=3D2>I also see a few entries for STATS: dropped 0.</FONT>
</P>
<P><FONT SIZE=3D2>Help!</FONT>
</P>
<P><FONT SIZE=3D2>-Erich</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C35AC2.76DC7320--