Browse Source

update checker

master
myitinos 5 years ago
parent
commit
244b478362
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      checker.py

+ 4
- 0
checker.py View File

@ -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)

Loading…
Cancel
Save