|
|
@ -130,6 +130,10 @@ def init_logging(logFileName: str, debug: bool = False): |
|
|
|
|
|
|
|
rootLogger = logging.getLogger("checker") |
|
|
|
|
|
|
|
fileHandler = logging.FileHandler(logFileName) |
|
|
|
fileHandler.setFormatter(logFormatter) |
|
|
|
rootLogger.addHandler(fileHandler) |
|
|
|
|
|
|
|
consoleHandler = logging.StreamHandler() |
|
|
|
consoleHandler.setFormatter(logFormatter) |
|
|
|
rootLogger.addHandler(consoleHandler) |
|
|
|