Normally, log rotation in Linux is handled by daily cron job.
The default configuration file is /etc/logrotate.conf and service or server specific configurations are stored in /etc/logrotate.d directory.
Sometimes it needs to force rotation of some files manually.
Below you will find how to debug and force logrotate manually. (more…)