Browse Source

[SOGo] Syslog-ng: Do not trim after each push to Redis

André 7 years ago
parent
commit
39b0fc515f
1 changed files with 0 additions and 9 deletions
  1. 0 9
      data/Dockerfiles/sogo/syslog-ng.conf

+ 0 - 9
data/Dockerfiles/sogo/syslog-ng.conf

@@ -33,19 +33,10 @@ destination d_redis_f2b_channel {
     command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
   );
 };
-destination d_redis_cleanup {
-  redis(
-    host("redis-mailcow")
-    persist-name("redis3")
-    port(6379)
-    command("LTRIM" "SOGO_LOG" "0" "`LOG_LINES`")
-  );
-};
 log {
   source(s_sogo);
   destination(d_redis_ui_log);
   destination(d_redis_f2b_channel);
-  destination(d_redis_cleanup);
 };
 log {
   source(s_sogo);