Skip to content

Conversation

@embeddedc
Copy link

Do not overwrite the logHandler on app.run().
Instead propagate it to hypercorn, so

logHandler = RotatingFileHandler(...)
app.logger.addHandler(logHandler)
app.run(...)

works as expected...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant