All pastes #272215 Raw Edit

Mine

public text v1 · immutable
·published 2006-12-08 20:44 UTC
rendered paste body
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.5 2005/05/12 05:46:10 mr_bones_ Exp $
#
# Syslog-ng default configuration file for Gentoo Linux
# contributed by Michael Sterrett

options {
        long_hostnames(off);
        chain_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);
        dns_cache(yes);
        use_fqdn(no);
        keep_hostname(yes);
        use_dns(yes);
};

source src { 
        unix-stream("/dev/log"); 
        internal(); 
        pipe("/proc/kmsg"); 
};

source netscreen {
        udp(ip(""));
};

destination netlog { file ("/var/log/netlog");};
destination messages { file("/var/log/messages"); };
# By default messages are logged to tty12...
#
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };
log { 
        source(netscreen);
        destination(messages);
};
~