Invoking logrotate manually
To invoke logrotate manually to debug configuration settings, there is a builtin debug flag: To force a log file rotation, regardless of the specified criteria (such as age, minsize, etc.), run: Keep in mind, that you can use individual logrotate configuration files from /etc/logrotate.d/ but settings are inherited from the global logrotate config /etc/logrotate.conf. For a comprehensive list of options,… Read more »