source s_local {
# message generated by Syslog-NG
internal();
+<%- if has_variable?("syslogversion") and syslogversion.to_s == "3.1" -%>
+ # standard Linux log source (this is the default place for the syslog()
+ # function to send logs to)
+ unix-stream("/dev/log");
+ # messages from the kernel
+ file("/proc/kmsg" program_override("kernel: "));
+<%- else -%>
system();
+<%- end -%>
};
<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%>