fix: remove test warning

This commit is contained in:
sergey 2024-10-09 20:39:58 +03:00
parent 7d11cd5c50
commit 3e98869979
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class LogConfig(BaseModel):
level_to_file: int = 30 level_to_file: int = 30
dateformat: str = "%Y-%m-%d %H:%M:%S" dateformat: str = "%Y-%m-%d %H:%M:%S"
format: str = ( 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"
) )

View File

@ -20,7 +20,6 @@ main_app = FastAPI(
lifespan=lifespan, lifespan=lifespan,
) )
log.warning("test")
main_app.include_router(router) main_app.include_router(router)
main_app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static") main_app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")