Update Logger.py

Fixed log setting.
This commit is contained in:
2020-11-24 13:33:54 -06:00
committed by GitHub
parent dc08f5a37b
commit 77e1940a5c

View File

@@ -30,6 +30,7 @@ class Logger:
chLogLevel = logging.CRITICAL # Prety musch the only one we change ever
fhLogLevel = logging.DEBUG
log = logging.getLogger(loggerName)
log.setLevel(globalLogLvl)
# Set our log output styles
fFormatter = logging.Formatter('[%(asctime)s] %(pathname)s:%(lineno)d %(levelname)s - %(message)s', '%m-%d %H:%M:%S')