瀏覽代碼

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

André 7 年之前
父節點
當前提交
39b0fc515f
共有 1 個文件被更改,包括 0 次插入9 次删除
  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")
     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 {
 log {
   source(s_sogo);
   source(s_sogo);
   destination(d_redis_ui_log);
   destination(d_redis_ui_log);
   destination(d_redis_f2b_channel);
   destination(d_redis_f2b_channel);
-  destination(d_redis_cleanup);
 };
 };
 log {
 log {
   source(s_sogo);
   source(s_sogo);