lzx404243 opened a new issue, #10066: URL: https://github.com/apache/trafficserver/issues/10066
### Issue The `%<cqtx>` logs the client request line consisting of themethod, uri and the http version. The http version is inaccurate for http/2 requests: ``` 127.0.0.1 - - [18/Jul/2023:23:01:45 -0000] "POST https://127.0.0.1:61016/some/path3?foo=bar HTTP/1.1" 404 0 ``` ### workaround To capture the client request line with the accurate http version, the `%<cqtx>` field can be replaced by `%<cqhm> %<cqu> %<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> %<cqu> %<cqpv>" %<pssc> %<pscl>' logs: - filename: access format: old - filename: access-new format: new ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
