<%- end -%>
-<%- if (hostname != "heininen") && (hostname != "lotti") -%>
- <%- if has_variable?("syslogversion") and syslogversion.to_s == "3" -%>
+<%- if has_variable?("syslogversion") and syslogversion.to_s == "3" -%>
+ <%- if hostname != "heininen" -%>
destination loghost-heininen {
tcp("heininen.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
)
);
};
+ <%- end -%>
+ <%- if hostname != "lotti" -%>
destination loghost-lotti {
tcp("lotti.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
)
);
};
-
+ <%- end -%>
log {
source(s_local);
+ <%- if hostname != "heininen" -%>
destination(loghost-heininen);
+ <%- end -%>
+ <%- if hostname != "lotti" -%>
destination(loghost-lotti);
-};
<%- end -%>
+};
<%- end -%>