I still object to the inclusion of this patch. At least for syslog-ng3.
The developers of syslog-ng clearly state in their http://www.balabit.com/dl/guides/syslog-ng-v3.0-guide-admin-en.pdf that /proc/kmsg should not be opened with pipe driver, but with file() instead and also log_prefix is deprecated and should be replaced by program_override() regards ede On 03.01.2010 22:37, Brian J. Murrell wrote:
[ Second try as the first was not committed ] 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<br...@interlinx.bc.ca> --- 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(messages); }; _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel