Now using logging.config functionality to make logging more robust and give more options without much for additional code.