X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=syslog-ng-simple.conf;h=e1f8c98ba50f5914724481b56e3e72cb29dda0de;hb=HEAD;hp=48ba9211faa0bab39efc99cf41eb74e86fb6df07;hpb=39261fbb5903f57b19fae2257ee756ac6c123753;p=packages%2Fsyslog-ng.git diff --git a/syslog-ng-simple.conf b/syslog-ng-simple.conf index 48ba921..cfcb393 100644 --- a/syslog-ng-simple.conf +++ b/syslog-ng-simple.conf @@ -1,6 +1,6 @@ -@version: 3.8 +@version: 4.6 # -# Syslog-ng configuration for PLD Linux +# Syslog-ng configuration for TLD Linux # # See syslog-ng(8) and syslog-ng.conf(5) for more information. # @@ -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); @@ -25,11 +25,6 @@ source s_sys { file ("/proc/kmsg" program_override("kernel")); unix-stream("/dev/log" max-connections(1000) log_iw_size(100000)); -# if using systemd, comment out the line above, and uncomment line below -# unix-dgram("/run/systemd/journal/syslog"); -# NOTE: if you are running under systemd and fixed config then you may need to manually fix /dev/log symlink: -# ln -s /run/systemd/journal/dev-log /dev/log -# internal(); };