Logrotate

Force run

logrotate --force [-v] <configfile>

Example

/var/www/example.*.com.*.log {
  daily
  missingok
  rotate 52
  compress
  delaycompress
  notifyempty
}

Syntaxcheck

logrotate -d