[syslog-ng] missing syslog-ng.conf
Joakim Rastberg
jor@xinit.se
Mon, 6 Mar 2000 12:31:00 +0100 (MET)
On Mon, 6 Mar 2000, Sebastian Sanchez wrote:
>Hi list:
>I' ve just compiled syslog-ng in a Linux box running RedHat 6.0. Everything
>worked fine, except for one thing: there is no /etc/syslog-ng directory and
>no syslog-ng.conf file. Where can I find a sample configuration file ?
Here, use mine :)
mkdir /etc/syslog-ng
cat > /etc/syslog-ng/syslog-ng.conf
# Syslog-ng configuration file for
# /etc/syslog-ng/syslog-ng.conf
options { long_hostnames(off); sync(0); use_fqdn(yes);};
source local {sun-streams("/dev/log" door("/etc/.syslog_door"));internal();};
source stdlog {udp();};
destination auto { file("/var/log/$HOST.$FACILITY"); };
log { source(stdlog);source(local); destination(auto); };
^D
test with:
/usr/local/sbin/syslog-ng -d -v
/Joakim (syslog-ng-user for 5 days now!)