dev #5

Merged
sergey merged 33 commits from dev into main 2024-10-11 07:57:44 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 3e98869979 - Show all commits

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")