]> git.pld-linux.org Git - packages/syslog-ng.git/blobdiff - syslog-ng.conf
- up to 3.12.1; builds (without tests; one monodb test fails); needs files update...
[packages/syslog-ng.git] / syslog-ng.conf
index f6faeec54fd7275547a1c8447e6fb1cd3da88e91..1b5843a110ad21f667ca8349d98d41a112141dcf 100644 (file)
@@ -1,4 +1,5 @@
-@version: 3.3
+@version: 3.12
+@include "scl.conf"
 #
 # Syslog-ng configuration for PLD Linux
 #
@@ -21,11 +22,12 @@ 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 {
+# NOTE:
+#   if you are running under systemd and just merged config then you may
+#   need to manually fix /dev/log symlink:
+# # ln -s /run/systemd/journal/dev-log /dev/log
+       system();
        internal();
 };
 
@@ -41,7 +43,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"); };
This page took 0.030012 seconds and 4 git commands to generate.