Log cleanup.