Traffic Server
  1. Traffic Server
  2. TS-1002

log unmapped HOST when pristine_host_hdr disabled

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: Logging
    • Labels:
      None

      Description

      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

      1. TS-1002.patch
        7 kB
        Zhao Yongming

        Activity

        Conan Wang created issue -
        Leif Hedstrom made changes -
        Field Original Value New Value
        Fix Version/s 3.1.2 [ 12317605 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.4 [ 12318543 ]
        Fix Version/s 3.1.2 [ 12317605 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.5 [ 12320056 ]
        Fix Version/s 3.1.4 [ 12318543 ]
        Zhao Yongming made changes -
        Assignee Zhao Yongming [ zym ]
        Zhao Yongming made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Zhao Yongming made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        Zhao Yongming made changes -
        Attachment TS-1002.patch [ 12516869 ]
        Zhao Yongming made changes -
        Fix Version/s 3.1.3 [ 12317969 ]
        Fix Version/s 3.1.5 [ 12320056 ]
        Leif Hedstrom made changes -
        Issue Type Wish [ 5 ] New Feature [ 2 ]
        Zhao Yongming made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Zhao Yongming
            Reporter:
            Conan Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development