]> TLD Linux GIT Repositories - packages/syslog-ng.git/blobdiff - syslog-ng-simple.conf
- fix obsoleted keyword stats_freq in config files
[packages/syslog-ng.git] / syslog-ng-simple.conf
index f445656280c29b22f728d669eb0faffd7d5d4ea5..cfcb393402f1b36c40b4c6fd4584c9b9d301e204 100644 (file)
@@ -1,4 +1,4 @@
-@version: 3.6
+@version: 4.6
 #
 # Syslog-ng configuration for TLD Linux
 #
@@ -14,7 +14,7 @@ options {
        dir_owner(root);
        dir_group(logs);
        dir_perm(0750);
-       stats_freq(43200);
+       stats(freq(43200));
        time_reopen(10);
        time_reap(360);
        mark_freq(600);
@@ -23,6 +23,7 @@ options {
 
 source s_sys   {
        file ("/proc/kmsg" program_override("kernel"));
+
        unix-stream("/dev/log" max-connections(1000) log_iw_size(100000));
        internal();
 };
@@ -32,6 +33,7 @@ destination d_messages    { file("/var/log/messages"); };
 destination d_kern        { file("/var/log/kernel"); };
 destination d_console_all { file("/dev/tty12"); };
 
+# if using systemd, an IP address instead of name may be required here
 #destination d_loghost { udp("loghost" port(514)); };
 
 filter f_kern             { facility(kern); };