Clean up some debugging logging