-
-
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
Fix default access_log_format
to correct value
#2650
Conversation
aiohttp uses |
Problem of this PR is more about having bad parameters, I tried to describe everything in details in the issue. |
drop performance by 20% is not good change, especially for default parameters. |
Codecov Report
@@ Coverage Diff @@
## master #2650 +/- ##
=======================================
Coverage 97.92% 97.92%
=======================================
Files 38 38
Lines 7267 7267
Branches 1262 1262
=======================================
Hits 7116 7116
Misses 47 47
Partials 104 104
Continue to review full report at Codecov.
|
@fafhrd91 Sorry, maybe I`m not following something but with current default params for me views are not working at all. Access logger is being initialized for each request in the following part of code: aiohttp/aiohttp/web_protocol.py Lines 135 to 139 in 19c138c
As access logger over here is True Line 352 in 19c138c
This is happening because log_format over here is None. |
you are right, sorry. somehow I thought that access log is disabled by default. |
Access log was enabled by default in aiohttp 2.x |
Thanks |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
What do these changes do?
Fixing wrong default value of access log format
Are there changes in behavior for the user?
Should not affect anything
Related issue number
#2649
Checklist
CHANGES
folder