[syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no loggi ng

Hamilton Andrew syslog-ng@lists.balabit.hu
Mon, 4 Aug 2003 16:04:26 -0400


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_01C35AC3.9AF41A31
Content-Type: text/plain;
	charset="iso-8859-1"

It may be a typo on the message but your filter line says f_fileter2 and
your log line says f_filter2.  Could this be your problem?
 
Regards

-----Original Message-----
From: Weidner, Erich [mailto:eweidner@ciber.com]
Sent: Monday, August 04, 2003 3:56 PM
To: 'syslog-ng@lists.balabit.hu'
Subject: [syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no logging



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_01C35AC3.9AF41A31
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Redhat 7.2, syslog-ng 1.6 and logger, and no logging</TITLE>

<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=480180320-04082003><FONT face=Arial color=#0000ff size=2>It may 
be a typo on the message but your filter line says f_fileter2 and your log line 
says f_filter2.&nbsp; Could this be your problem?</FONT></SPAN></DIV>
<DIV><SPAN class=480180320-04082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=480180320-04082003><FONT face=Arial color=#0000ff 
size=2>Regards</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Weidner, Erich 
  [mailto:eweidner@ciber.com]<BR><B>Sent:</B> Monday, August 04, 2003 3:56 
  PM<BR><B>To:</B> 'syslog-ng@lists.balabit.hu'<BR><B>Subject:</B> 
  [syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no 
  logging<BR><BR></FONT></DIV>
  <P><FONT size=2>I'm unable to get messages into /var/log/messages with 
  logger.</FONT> </P>
  <P><FONT size=2>I've compiled and installed syslog-ng 1.6rc3,</FONT> </P>
  <P><FONT size=2>I've the following config. (modified the 
  contrib/syslong-ng.conf.Redhat) config file.</FONT> </P>
  <P><FONT size=2>Relavent lies of it are:</FONT> </P>
  <P><FONT size=2>source s_sys { pipe ("proc/kmsg" log_prefix"kernel: ")); 
  unix-dgram ("/dev/log"); internal(); };</FONT> </P>
  <P><FONT size=2>filter f_fileter2 { level(info .. emerg) and not 
  (facility(mail) or facility(authpriv) or facility(cron)); };</FONT> </P>
  <P><FONT size=2>log { source(s_sys); filter(f_filter2); destination(d_mesg); 
  };</FONT> </P><BR>
  <P><FONT size=2>I've tried the following: logger -p daemon.crit "Testing, 
  Hello?"</FONT> <BR><FONT size=2>and various others such as user.crit 
  user.warn, etc. Nothing.</FONT> <BR><FONT size=2>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=2>I also see a few entries for STATS: dropped 0.</FONT> </P>
  <P><FONT size=2>Help!</FONT> </P>
  <P><FONT size=2>-Erich</FONT> </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C35AC3.9AF41A31--