On Friday 01 August 2003 02:43 pm, Stroller wrote:
> On 1/8/03 6:11 pm, "edj" <[EMAIL PROTECTED]> wrote:
> > Using syslog-ng.  /var/log/messages fills with "syslog-ng[717]:
> > STATS: dropped 0", one after another.  OK - so syslog is working. 
> > However, an identical log appears in /var/log/syslog.  How to keep
> > it from logging to messages?  Sorry, but syslog.conf is gibberish
> > to me, and the man page is not very helpful.  Any advice
> > appreciated.  Thanks.

> # Syslog-ng default configuration file for Gentoo Linux
> # contributed by Michael Sterrett
>
> options {
>         long_hostnames(off);
>         sync(0);
>
>         # The default action of syslog-ng 1.6.0 is to log a STATS
> line # to the file every 10 minutes.  That's pretty ugly after a
> while. # Change it to every 12 hours so you get a nice daily update
> of # how many messages syslog-ng missed (0).
>         stats(43200);
> };

The generation of STATS lines isn't the problem.  It's their 
destination.  How to keep 'em out of /var/log/messages?

-- 
Ed Jabbour

--
[EMAIL PROTECTED] mailing list

Reply via email to