Julien Fastré
de738f39c1
This commit introduces log rotation for chill-related logs by adding a template file and the corresponding task in the playbook. It ensures proper log management by rotating logs daily, keeping a specified number of backups, and compressing old logs.
15 lines
177 B
Plaintext
15 lines
177 B
Plaintext
/var/log/chill/default-*.log {
|
|
rotate 90
|
|
daily
|
|
compress
|
|
missingok
|
|
notifempty
|
|
}
|
|
|
|
/var/log/apt/private-*.log {
|
|
rotate 180
|
|
daily
|
|
compress
|
|
missingok
|
|
notifempty
|
|
} |