Browse Source

[Dovecot] Ignore watchdog IP in logs, filter by syslog-ng

andryyy 8 years ago
parent
commit
7c46d6548b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/Dockerfiles/dovecot/syslog-ng.conf

+ 2 - 1
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);
-
 };