Brief-Wishbone9091
Member
https://www.keycdn.com/support/logrotate#maxsize
Does this mean the size of all the log files in /var/log/nginx will be more than 50G then rotate the log or does it mean the size of 1 log file in /var/log/nginx will be more than 50G then logrotate?
This limits each log file's size to the specified number of bytes
Code:
/var/log/nginx/*.log
{
size 50G
}
Does this mean the size of all the log files in /var/log/nginx will be more than 50G then rotate the log or does it mean the size of 1 log file in /var/log/nginx will be more than 50G then logrotate?