Main module

The majority of the logging configuration goes on in this module.  Use
it wisely.