Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1002

log unmapped HOST when pristine_host_hdr disabled

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.3
    • Logging
    • 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

      Attachments

        1. TS-1002.patch
          7 kB
          Zhao Yongming

        Activity

          People

            zym Zhao Yongming
            conanmind Conan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: