Improve logging and allow for logging configfile.

Changed logging to actually log under the proper logger names.
Also added ability to load logging config file, if present.