-@version: 3.0
+@version: 3.5
#
# Syslog-ng configuration for PLD Linux
#
time_reopen(10);
time_reap(360);
mark_freq(600);
- log_fifo_size(2048);
+ threaded(yes);
};
source s_sys {
- pipe ("/proc/kmsg" program_override("kernel"));
- unix-stream("/dev/log" max-connections(1000));
+ 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");
+# and add ForwardToSyslog=yes to /etc/systemd/journald.conf
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"); };