logrotate: dry-run one rule

Before forced rotation, run the rule in debug mode.

sudo logrotate -d /etc/logrotate.d/myapp
sudo logrotate -f /etc/logrotate.d/myapp

Verify the result

Debug should not show syntax errors or empty globs.