From 8b6348b5d35fe2df87ce954d77657eb5f6c08059 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 23 Mar 2010 13:21:56 +0100 Subject: [PATCH] corelli logs to paganini --- templates/syslog-ng.conf.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index c87596cea..c903ced4f 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -368,3 +368,14 @@ log { destination(dp_xconsole); }; <%end%> + +<% if hostname == "corelli" -%> +destination loghost-paganini { + udp("192.168.2.10",port(514)); +}; + +log { + source(s_all); + destination(loghost-paganini); +}; +<%end%> -- 2.20.1