主分支代码
This commit is contained in:
11
deploy/fluent-bit/logrotate.conf
Normal file
11
deploy/fluent-bit/logrotate.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
# logrotate 示例:边缘节点日志轮转
|
||||
# 安装:放入 /etc/logrotate.d/edge-node 或 include 到主配置
|
||||
|
||||
/var/log/edge/edge-node/*.log {
|
||||
daily
|
||||
rotate 14
|
||||
compress
|
||||
missingok
|
||||
notifempty
|
||||
copytruncate
|
||||
}
|
||||
Reference in New Issue
Block a user