X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=templates%2Fsyslog-ng.conf.erb;h=f21ccc5f6fc01d524293992118ddaaff2e177549;hb=d57f1880c4260ae808e58e011bd6bb2f4f27df17;hp=f3f0cf777aeeae151b14a014fa24f77880c41376;hpb=31e7f36e96148e10f24e66cf5967e55a50c73e79;p=mirror%2Fdsa-puppet.git diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index f3f0cf777..f21ccc5f6 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -101,7 +101,7 @@ source s_all { <% else %> file("/proc/kmsg" program_override("kernel: ")); <%end%> -<% else %> +<%else%> # standard Linux log source (this is the default place for the syslog() # function to send logs to) unix-dgram("/var/run/log"); @@ -111,9 +111,10 @@ source s_all { <% else %> file("/dev/klog" program_override("kernel: ")); <%end%> +<%end%> +<% if hostname == "paganini" -%> # use the following line if you want to receive remote UDP logging messages # (this is equivalent to the "-r" syslogd flag) -<% if hostname == "paganini" -%> udp(); <%end%> };