How can I set a rotating policy based on a disjunction of size and frequency criteria. I have tried the following:
"/var/log/uwsgi/*/*.log" {
...
size 400M
daily rotate 14
..
}
However, even when logrotate is executed when the log file exceeds 400M of size, no rotation is being made.
Any idea how to force a rotation upon either condition?