-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
how to log the incoming requests and the response #575
Comments
What do you expect from logger? |
just show the routes with the status code. just when I run the app in debug mode |
Personally, I've no issues to have logs with this config file: |
Thanks @GMLudo if I specify the logger with make_handler, I have the logs. Thanks |
@asvetlov is there a way to specify the the logger without calling |
Fixed by #1117 |
Hi all,
the web.Application class takes a logger in the constructor, but this one does not seem to work, because in debug mode, there is no message in the logger.
I have read the code of ServerHttpProtocol and we can specify the access_log logger, but this one is just used in the test.
What do you suggest if I want to see the logs ?
Thank you
The text was updated successfully, but these errors were encountered: