From 9734e38e4e233fc2a42bc6959fb6013893c15111 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 23 Mar 2010 13:20:05 +0100 Subject: [PATCH] udp logging to paganini --- templates/syslog-ng.conf.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index f811df49f..c87596cea 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -103,7 +103,9 @@ source s_all { <%end%> # use the following line if you want to receive remote UDP logging messages # (this is equivalent to the "-r" syslogd flag) - # udp(); +<% if hostname == "paganini" -%> + udp(); +<%end%> }; -- 2.20.1