Commit 5032d9bb authored by thomas.forbriger's avatar thomas.forbriger

ThiesDL1 [FIX]: adjust syslog-ng config file

parent ac8c626b
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# ============================================================================ # ============================================================================
# configuration file for syslog-ng on DL1 recording host # configuration file for syslog-ng on DL1 recording host
# ------------------------------------------------------ # ------------------------------------------------------
# 2014-03-27 # 2019-06-07
# ============================================================================ # ============================================================================
# BFO Thies DL1 # BFO Thies DL1
destination dl1logall { file("/var/log/dl1logall" fsync(yes) perm(0644)); }; destination dl1logall { file("/var/log/dl1logall" fsync(yes) perm(0644)); };
destination dl1log { file("/var/log/dl1log" fsync(yes) perm(0644)); }; destination dl1log { file("/var/log/dl1log" fsync(yes) perm(0644)); };
destination dl1logremote1 { tcp("192.168.1.41" port(2222)); }; destination dl1logremote1 { tcp("192.168.1.41" port(2222)); };
destination dl1logremote2 { tcp("192.168.1.17" port(2222)); }; destination dl1logremote2 { tcp("192.168.1.3" port(2222)); };
filter f_dl1 { match('^DL1logger' value(MSGHDR)); }; filter f_dl1 { message("DL1logger"); };
filter f_dl1_notice { match('^DL1logger' value(MSGHDR)) and not level(info); }; filter f_dl1_notice { message("DL1logger") and not level(info); };
log { source(src); filter(f_dl1); destination(dl1logall); }; log { source(src); filter(f_dl1); destination(dl1logall); };
log { source(src); filter(f_dl1_notice); destination(dl1log); }; log { source(src); filter(f_dl1_notice); destination(dl1log); };
log { source(src); filter(f_dl1); destination(dl1logremote1); }; log { source(src); filter(f_dl1); destination(dl1logremote1); };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment