log cleanup.