From 045262f51f73292b8ecd986258db51c2e328011e Mon Sep 17 00:00:00 2001 From: kingbri Date: Sun, 10 Mar 2024 17:33:37 -0400 Subject: [PATCH] Logging: Loglevel INFO This is the max that Tabby should log because debug and trace aren't used within the application. Signed-off-by: kingbri --- common/logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/logger.py b/common/logger.py index 6258d41..f65e418 100644 --- a/common/logger.py +++ b/common/logger.py @@ -83,7 +83,7 @@ UVICORN_LOG_CONFIG = { "class": f"{UvicornLoggingHandler.__module__}.{UvicornLoggingHandler.__qualname__}", # noqa }, }, - "root": {"handlers": ["uvicorn"], "propagate": False, "level": "TRACE"}, + "root": {"handlers": ["uvicorn"], "propagate": False, "level": "INFO"}, } @@ -94,7 +94,7 @@ def setup_logger(): logger.add( RICH_CONSOLE.print, - level="DEBUG", + level="INFO", format=_log_formatter, colorize=True, )