0

Is there a configuration setting I can do to make Apache traffic server to log XFF header into the logs ? I have gone over the ATS documentation and there's no mention of this. I see various logging formats explained.

clami219
  • 2,958
  • 1
  • 31
  • 45
Ani
  • 109
  • 2
  • 12

1 Answers1

0

Using the custom log field 'cqh' you can log the value of any header. So in your logging.config, you'd have a field '%<{X-Forwarded-For}cqh>'

Miles Libbey
  • 1,583
  • 2
  • 10
  • 10