X-Git-Url: https://git.tld-linux.org/?p=packages%2Fsyslog-ng.git;a=blobdiff_plain;f=syslog-ng.conf;h=d71993c2fc281ae6985a8c12501bc135dd376acf;hp=7729515929ef183c0c77285a9af8a513829d0b53;hb=70014d1e26d9629e6c9212e2b09582916ce4cbec;hpb=745d3fe3a3ed848f429b9c7f196a76f3fb315442 diff --git a/syslog-ng.conf b/syslog-ng.conf index 7729515..d71993c 100644 --- a/syslog-ng.conf +++ b/syslog-ng.conf @@ -1,6 +1,7 @@ @version: 3.6 +@include "scl.conf" # -# Syslog-ng configuration for PLD Linux +# Syslog-ng configuration for TLD Linux # # See syslog-ng(8) and syslog-ng.conf(5) for more information. # @@ -21,18 +22,14 @@ options { threaded(yes); }; -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"); +source s_sys { + system(); internal(); }; # uncomment the line below if you want to setup syslog server #source s_net { udp(); }; -# if using systemd, an IP address instead of name may be required here #destination d_loghost { udp("loghost" port(514)); }; destination d_kern { file("/var/log/kernel"); }; @@ -41,7 +38,7 @@ destination d_authlog { file("/var/log/secure"); }; destination d_mail { file("/var/log/maillog"); }; destination d_uucp { file("/var/log/spooler"); }; destination d_debug { file("/var/log/debug"); }; -destination d_cron { file("/var/log/cron" owner(root) group(crontab) perm(0660)); }; +destination d_cron { file("/var/log/cron"); }; destination d_syslog { file("/var/log/syslog"); }; destination d_daemon { file("/var/log/daemon"); }; destination d_lpr { file("/var/log/lpr"); };