[SOGo] Syslog-ng: Do not trim after each push to Redis
This commit is contained in:
parent
85f83b1b71
commit
39b0fc515f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user