You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
%<cqtx> log field shows HTTP/1.1 for HTTP/2 requests #10066
To capture the client request line with the accurate http version, the %<cqtx> field can be replaced by %<cqhm> %<pqu> %<cqpv> , like in the following logging.yaml:
logging:
formats:
- name: old
format: '%<chi> - %<caun> [%<cqtn>] "%<cqtx>" %<pssc> %<pscl>'
- name: new
format: '%<chi> - %<caun> [%<cqtn>] "%<cqhm> %<pqu> %<cqpv>" %<pssc> %<pscl>'
logs:
- filename: access
format: old
- filename: access-new
format: new
Discussed with @maskit, fixing this log field would require either a huge incompatible change to HttpSM, or an additional field to store the real http version for the request just for the sake of logging.
We believes the %<cqtx> can be deprecated as it's showing inaccurate information and its information can be fully reproduced via other log fields, as shown in the workaround.
Activity
lzx404243 commentedon Jul 19, 2023
Discussed with @maskit, fixing this log field would require either a huge incompatible change to HttpSM, or an additional field to store the real http version for the request just for the sake of logging.
We believes the
%<cqtx>can be deprecated as it's showing inaccurate information and its information can be fully reproduced via other log fields, as shown in theworkaround.maskit commentedon Jul 19, 2023
It's the case for H3 as well, and the same workaround works.
Remove cqtx log field (#10111)