Skip to content

Logs to file #1418

Answered by euri10
infernalx asked this question in Q&A
Mar 24, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

you probably want to use a FileHandler (see https://docs.python.org/3/library/logging.handlers.html) in your logging config and use it with our --log-config flag (see https://www.uvicorn.org/settings/#logging)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@infernalx
Comment options

@euri10
Comment options

@infernalx
Comment options

@infernalx
Comment options

Answer selected by infernalx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants