I wonder if maxsize
and minsize
can both be added with a specified time interval and can thus coexist. With these options both the size and timestamp of a log file are considered, so if it happens that a log file grows bigger than maxsize just before the 'deadline' specified by the time interval, the following rotation would rotate a very small log file. So again I wonder if adding a minsize would skip the expected rotation if the file is too small in size:
/var/log/mylog {
...
daily
minsize 50K
maxsize 10M
...
}