Fix logrotate config.

Fixes #6229