The current ruleset means rotate the file daily unless the file grows larger than 1Mb earlier, then rotate once the file reaches that size. https://serverfault.com/questions/474941/how-to-rotate-log-based-on-an-interval-unless-log-exceeds-a-certain-size
12 lines
211 B
Plaintext
12 lines
211 B
Plaintext
# Generated by apptask for the /run mount
|
|
|
|
<%= volumePath %>/*.log <%= volumePath %>/*/*.log <%= volumePath %>/*/*/*.log {
|
|
rotate 7
|
|
daily
|
|
compress
|
|
maxsize=1M
|
|
missingok
|
|
delaycompress
|
|
copytruncate
|
|
}
|