fix logging
This commit is contained in:
parent
665c4b82a5
commit
b8079e1db0
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ async def startup(_):
|
|||
|
||||
logging.basicConfig(
|
||||
level=logging.getLevelName(os.environ.get("LOG_LEVEL", "INFO").upper()),
|
||||
format="%(asctime):%(levelname):%(name):%(message)s",
|
||||
format="%(asctime)s:%(levelname)s:%(name)s:%(message)s",
|
||||
datefmt="%d/%m/%Y %H:%M:%S"
|
||||
)
|
||||
app = fastapi.FastAPI(
|
||||
|
|
Loading…
Reference in a new issue