Some minor logging cleanup.