diff --git a/codegen/adr_utils.txt b/codegen/adr_utils.txt index bf652541..7303ff1c 100644 --- a/codegen/adr_utils.txt +++ b/codegen/adr_utils.txt @@ -60,7 +60,7 @@ def get_logger(logfile=None): The logger object. """ logger = logging.getLogger() - logger.setLevel(logging.DEBUG) + logger.setLevel(logging.ERROR) if logfile is None: # Logging for Python APIs should be disabled by default ch = logging.NullHandler() @@ -68,7 +68,7 @@ def get_logger(logfile=None): ch = logging.StreamHandler(sys.stdout) else: ch = logging.FileHandler(logfile) - ch.setLevel(logging.DEBUG) + ch.setLevel(logging.ERROR) formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s") ch.setFormatter(formatter) logger.addHandler(ch)