diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-15 13:40:51 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-15 13:40:51 +0000 |
commit | 8c80efabd4c74477ec222df669c61f65351110c5 (patch) | |
tree | de3255deae1b77bf04ca906a172890e7fe7c21c6 /openwrt/package/syslog-ng/files/syslog-ng.conf | |
parent | 640d2ce5028921b121ad730e6c3de4392c7b2157 (diff) | |
download | mtk-20170518-8c80efabd4c74477ec222df669c61f65351110c5.zip mtk-20170518-8c80efabd4c74477ec222df669c61f65351110c5.tar.gz mtk-20170518-8c80efabd4c74477ec222df669c61f65351110c5.tar.bz2 |
add miau from Benjamin Binier, updated to newest upstream, thx. add syslog-ng from Sebastien Bourgasser, pending missing libol package
SVN-Revision: 3378
Diffstat (limited to 'openwrt/package/syslog-ng/files/syslog-ng.conf')
-rw-r--r-- | openwrt/package/syslog-ng/files/syslog-ng.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/syslog-ng/files/syslog-ng.conf b/openwrt/package/syslog-ng/files/syslog-ng.conf new file mode 100644 index 0000000..658abea --- /dev/null +++ b/openwrt/package/syslog-ng/files/syslog-ng.conf @@ -0,0 +1,16 @@ +options { + 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); +}; + +source src { unix-stream("/dev/log"); internal(); }; + +destination messages { file("/var/log/messages"); }; + +log { source(src); destination(messages); }; |