[ 
https://issues.apache.org/jira/browse/TS-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-1002:
------------------------------

    Fix Version/s:     (was: 3.1.2)
                   3.1.4

This is unfortunately how it works (currently). I'm thinkign, we might want to 
make a copy of the "pristine" request header object before remapping, clean out 
all the code around logging the pristine data, and add another directive to 
logging to get components out of this (new) pristine host header object.

Moving this out to 3.1.4 for now.
                
> log unmapped HOST when pristine_host_hdr disabled
> -------------------------------------------------
>
>                 Key: TS-1002
>                 URL: https://issues.apache.org/jira/browse/TS-1002
>             Project: Traffic Server
>          Issue Type: Wish
>          Components: Logging
>            Reporter: Conan Wang
>            Priority: Minor
>             Fix For: 3.1.4
>
>
> I want to log user request's "Host" in http header before remap. I write 
> logs_xml.config, like:  %<{Host}cqh>
> When proxy.config.url_remap.pristine_host_hdr is enabled, I will get the 
> right "Host" which is not rewritten.
> When disable the config, I always get the rewritten/mapped "Host" which is 
> not what I need.
> logs_xml reference: 
> http://trafficserver.apache.org/docs/v2/admin/logfmts.htm#66912

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to