From 54734db269eaef985282809c73966ce10831b1d8 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 19 Jun 2010 18:48:09 +0000 Subject: [PATCH] probably I should move the end to the right place Signed-off-by: Stephen Gran --- templates/syslog-ng.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index c62a7f79..f21ccc5f 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -106,15 +106,15 @@ source s_all { # function to send logs to) unix-dgram("/var/run/log"); # messages from the kernel -<%end%> <% if syslogversion == "2" -%> file("/dev/klog" log_prefix("kernel: ")); <% 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%> }; -- 2.39.2