Some logging cleanup.