-@version: 3.6
+@version: 3.8
#
-# Syslog-ng configuration for TLD Linux
+# Syslog-ng configuration for PLD Linux
#
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
#
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();
};
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); };