Enable configuring logging from configuration
Deduplicate some logging
Merge pull request #35 from dstufft/configure-logging

Configure logging