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:
9734e38
)
corelli logs to paganini
author
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Mar 2010 12:21:56 +0000
(13:21 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Mar 2010 12:21:56 +0000
(13:21 +0100)
templates/syslog-ng.conf.erb
patch
|
blob
|
history
diff --git
a/templates/syslog-ng.conf.erb
b/templates/syslog-ng.conf.erb
index
c87596c
..
c903ced
100644
(file)
--- 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%>