Mainly log cleanup.