Logging changes

Here's some small changes to tidy up some of the logging we're doing. I pulled in some changes suggested by @pftg in #78 to cut down on the memory usage, and added a setter for the base logger (I was surprised we didn't have that already).