Moving log4net config to separate file

Load log4net configs from external files so that the config file can be
dynamically selected.