|
|
@@ -21,8 +21,8 @@ source s_local {
|
|
|
unix-dgram("@l_prefix@/var/syslog-ng/syslog-ng.sock");
|
|
|
};
|
|
|
source s_remote {
|
|
|
- udp(ip(127.0.0.1) port(514) max-connections(20));
|
|
|
- tcp(ip(127.0.0.1) port(514) max-connections(20));
|
|
|
+ udp(ip(0.0.0.0) port(514));
|
|
|
+ tcp(ip(0.0.0.0) port(514) max-connections(20));
|
|
|
};
|
|
|
|
|
|
# message destinations
|
|
|
@@ -44,7 +44,7 @@ destination d_logfile {
|
|
|
|
|
|
# message filters
|
|
|
filter f_tty_all {
|
|
|
- level(emerg)
|
|
|
+ level(emerg);
|
|
|
};
|
|
|
filter f_tty_root {
|
|
|
level(emerg,alert) or
|
|
|
@@ -55,6 +55,7 @@ filter f_console {
|
|
|
(level(error, warning, notice) and facility(auth, kern));
|
|
|
};
|
|
|
filter f_logfile {
|
|
|
+ level(emerg);
|
|
|
};
|
|
|
|
|
|
# message logging
|
|
|
@@ -81,4 +82,3 @@ log {
|
|
|
filter(f_tty_all);
|
|
|
destination(d_tty_all);
|
|
|
};
|
|
|
-
|