소스 검색

[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")
   );
 };
-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);