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.
Sorry, which constant do you want to be config variables? The log file names, the format string, or maxBytes (or all of them)?