source s_all {
# message generated by Syslog-NG
internal();
-<% if $kernel == 'Linux' %>
+<% if kernel == 'Linux' %>
# standard Linux log source (this is the default place for the syslog()
# function to send logs to)
unix-stream("/dev/log");
destination df_debug { file("/var/log/debug"); };
destination df_messages { file("/var/log/messages"); };
+<% if kernel == 'Linux' %>
# pipes
# a console to view log messages under X
destination dp_xconsole { pipe("/dev/xconsole"); };
+<% end %>
# consoles
# this will send messages to everyone logged in
destination du_all { usertty("*"); };