If you want to use syslog-ng, likely you want to also log the kernel messages with it. This patch adds that.
Signed-off-by: Brian J. Murrell <[email protected]> --- Index: files/syslog-ng.conf =================================================================== --- files/syslog-ng.conf (revision 18617) +++ files/syslog-ng.conf (working copy) @@ -10,7 +10,8 @@ }; source src { unix-stream("/dev/log"); internal(); }; +source kernel { pipe("/proc/kmsg" log_prefix("kernel: ")); }; destination messages { file("/var/log/messages"); }; -log { source(src); destination(messages); }; +log { source(src); source(kernel); destination(syslog_server); };
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
