rootLogger = logging.getLogger()
fileHandler = logging.FileHandler('{0}/{1}.log'.format(logPath, fileName))
fileHandler.setFormatter(logFormatter)
rootLogger.addHandler(fileHandler)
consoleHandler = logging.StreamHandler()
consoleHandler.setFormatter(logFormatter)
rootLogger.addHandler(consoleHandler)
logger configuration to log to file and print to stdout