projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac3021
)
udp logging to paganini
author
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Mar 2010 12:20:05 +0000
(13:20 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Mar 2010 12:20:05 +0000
(13:20 +0100)
templates/syslog-ng.conf.erb
patch
|
blob
|
history
diff --git
a/templates/syslog-ng.conf.erb
b/templates/syslog-ng.conf.erb
index
f811df4
..
c87596c
100644
(file)
--- 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%>
};