From 7c46d6548b471e6f1cc16fda9b2aff808bf92152 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 11 Oct 2017 11:23:20 +0200 Subject: [PATCH] [Dovecot] Ignore watchdog IP in logs, filter by syslog-ng --- data/Dockerfiles/dovecot/syslog-ng.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/dovecot/syslog-ng.conf b/data/Dockerfiles/dovecot/syslog-ng.conf index 292efc7d..216111f2 100644 --- a/data/Dockerfiles/dovecot/syslog-ng.conf +++ b/data/Dockerfiles/dovecot/syslog-ng.conf @@ -39,12 +39,13 @@ destination d_redis_cleanup { ); }; filter f_mail { facility(mail); }; +filter f_not_watchdog { not message("172\.22\.1\.248"); }; log { source(s_src); + filter(f_not_watchdog); destination(d_stdout); filter(f_mail); destination(d_redis_ui_log); destination(d_redis_f2b_channel); destination(d_redis_cleanup); - };