-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need clear documentation for configuration #214
Comments
This is what I'm struggling with right now. I can't seem to find any documentation or examples that outline the proper way to pass a custom logger class. All I'd like to do is change the formatting: https://github.com/pgjones/hypercorn/blob/main/src/hypercorn/logging.py#L41 Is there an easier way to change the default log formatting? |
Hi, I have started using
hypercorn
very recently to move away fromuvicorn
orgunicorn
there are certain issues I'm facing while trying to configure it through either aTOML
file or a python module.use_reloader
was not working when I was trying to use it through python code and serve itconfig.loglevel
this is the only config that worked for me for the logs. When I tried to configure withTOML
file even theloglevel
was not getting affected.Can you provide an example at least one TOML based configuration file and one python file to customise the logger. This will be very useful.
The text was updated successfully, but these errors were encountered: