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.

[EMAIL PROTECTED] stroller $ cat /etc/syslog-ng/syslog-ng.conf.out-of-the-box
o
# $Header: 
/home/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v
1.3 2003/05/12 22:43:48 msterret Exp $
#
# 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);
};

HTH,

Stroller.

-- 
Enjoyed this post? Thanks for reading - please consider employing me!
Technical support / system administration - CV available on request
Linux / Unix / Windows / Mac OS X  - UK or anywhere considered



--
[EMAIL PROTECTED] mailing list

Reply via email to