fix: remove test warning
This commit is contained in:
parent
7d11cd5c50
commit
3e98869979
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
1
main.py
1
main.py
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue