decrease log level from DEBUG to INFO

This commit is contained in:
Wolfgang Hottgenroth 2020-05-06 21:27:11 +02:00
parent 5caf3f2ca0
commit bcc6229bb6
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -18,9 +18,9 @@ if __name__ == "__main__":
config = Config.Config()
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
logger.setLevel(logging.INFO)
fh = logging.FileHandler(config.logFile)
fh.setLevel(logging.DEBUG)
fh.setLevel(logging.INFO)
ch = logging.StreamHandler()
ch.setLevel(logging.ERROR)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')