Logging

Closes #59. I'm unsure how to actually get to some of the messages to test whether certain parts log correctly. It does correctly log uncaught exceptions and HTTP requests though.
I don't think we should cap the file size.  It won't be that big, and if for some reason it did get that big we'd probably want to not lose old data.