From 3e98869979c17cb0b2ed7f6d3e197a5a4f141e9e Mon Sep 17 00:00:00 2001 From: sergey Date: Wed, 9 Oct 2024 20:39:58 +0300 Subject: [PATCH] fix: remove test warning --- config/config.py | 2 +- main.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/config.py b/config/config.py index 7916e56..243a34d 100644 --- a/config/config.py +++ b/config/config.py @@ -25,7 +25,7 @@ class LogConfig(BaseModel): level_to_file: int = 30 dateformat: str = "%Y-%m-%d %H:%M:%S" format: str = ( - "[%(asctime)s.%(msecs)03d] %(module)-15s:%(lineno)4d | %(funcName)-20s| %(levelname)-8s | %(message)s" + "[%(asctime)s.%(msecs)03d] %(module)-25s:%(lineno)4d | %(funcName)-20s| %(levelname)-8s | %(message)s" ) diff --git a/main.py b/main.py index 43910f4..445f19e 100644 --- a/main.py +++ b/main.py @@ -20,7 +20,6 @@ main_app = FastAPI( lifespan=lifespan, ) -log.warning("test") main_app.include_router(router) main_app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")