12 lines
234 B
Plaintext
12 lines
234 B
Plaintext
# logrotate 示例:边缘节点日志轮转
|
|
# 安装:放入 /etc/logrotate.d/edge-node 或 include 到主配置
|
|
|
|
/var/log/edge/edge-node/*.log {
|
|
daily
|
|
rotate 14
|
|
compress
|
|
missingok
|
|
notifempty
|
|
copytruncate
|
|
}
|