diff options
Diffstat (limited to 'data/configi/syslog-ng.conf')
| -rw-r--r-- | data/configi/syslog-ng.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/configi/syslog-ng.conf b/data/configi/syslog-ng.conf new file mode 100644 index 0000000..b046d1f --- /dev/null +++ b/data/configi/syslog-ng.conf | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | options { | ||
| 2 | chain_hostnames(off); | ||
| 3 | sync(0); | ||
| 4 | |||
| 5 | # The default action of syslog-ng 1.6.0 is to log a STAT | ||
| 6 | # to the file every 10 minutes. That's pretty ugly afte | ||
| 7 | # Change it to every 12 hours so you get a nice daily up | ||
| 8 | # how many messages syslog-ng missed (0). | ||
| 9 | stats(43200); | ||
| 10 | }; | ||
| 11 | |||
| 12 | source src { unix-stream("/dev/log"); internal(); }; | ||
| 13 | |||
| 14 | # destination messages { file("/var/log/messages"); }; | ||
| 15 | destination messages { udp("10.200.200.70"); }; | ||
| 16 | log { source(src); destination(messages); }; | ||
