blob: b046d1ff9f3db2c090a14044c40a4da4c2f08a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
options {
chain_hostnames(off);
sync(0);
# The default action of syslog-ng 1.6.0 is to log a STAT
# to the file every 10 minutes. That's pretty ugly afte
# Change it to every 12 hours so you get a nice daily up
# how many messages syslog-ng missed (0).
stats(43200);
};
source src { unix-stream("/dev/log"); internal(); };
# destination messages { file("/var/log/messages"); };
destination messages { udp("10.200.200.70"); };
log { source(src); destination(messages); };
|