logging cleanup.