Fixing log rotation.