Cleaning up a little logging