Supports logrotate.