trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Payne <>
Subject Re: Change in shn response (logging)
Date Wed, 06 Feb 2019 16:43:05 GMT
re: ATS 7.1.x

Somewhat related.. I notice that upon polling an upstream server, pqsi
does not log the upstream IP.
pqsn DOES log the upstream FQDN.
If I replace pqsi with 'nhi' then I am able to log upstream IP again.

On Mon, Jan 14, 2019 at 1:51 PM Alan Carroll <> wrote:
> One of the issues with this is what exactly was the difference between `pqsn` and `shn`?
Did they different when using parent.config?
> On Fri, Jan 11, 2019 at 11:54 AM Steve Malenfant <> wrote:
>> Was doing some testing this morning and noticed that I couldn't find my traffic by
the origin server hostname anymore using our logging system. While discussing with a few folks,
looks like the "shn" field isn't reporting the origin server hostname under certain circumstances,
for example when used with parent.config.
>> shn now reports the IP address or hostname used in the parent.config, which is what
we used pqsn/pqsi field before.
>> In the pull request, there is a
workaround using the client/server host header that can be used. That header contains also
a port.
>> I know we applied the logic of pqsn to shn, but pqsn had a different meaning than
origin server hostname.
>> pqsnThe proxy request server name; the name of the server that fulfilled the request.
>> The PR says that the psqn logic was proper, although I don't think it was the case
for the definition of shn.
>> shnThe hostname of the origin server.
>> Few things could happen.
>> - Revert back the change
>> - Adjust my logging system (and everybody else maybe)
>> Any explanation that the 5.x/6.x behavior was causing?
>> Thanks,
>> Steve
> --
> Beware the fisherman who's casting out his line in to a dried up riverbed.
> Oh don't try to tell him 'cause he won't believe. Throw some bread to the ducks instead.
> It's easier that way. - Genesis : Duke : VI 25-28

View raw message