trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Strongman <jasonstrongman2...@gmail.com>
Subject Re: Error Log And Host Header(other headers)
Date Mon, 23 Mar 2015 18:08:11 GMT
does this apply to the ATS error log? i thought this only applied to the
access log.



On Mon, Mar 23, 2015 at 12:58 PM, Miles Libbey <mlibbey@apache.org> wrote:

> Yes.
>
> in logs_xml.config, %<cquuh> would get you the original Host: header.
>
>
> Event Logging Formats — Apache Traffic Server 5.3.0 documentation
> <https://docs.trafficserver.apache.org/en/latest/admin/event-logging-formats.en.html>
>
>
>
>
>
>
> Event Logging Formats — Apache Traffic Server 5.3.0 documentation
> <https://docs.trafficserver.apache.org/en/latest/admin/event-logging-formats.en.html>
> Log Field Slicing¶ It is sometimes desirable to slice a log field to limit
> the length of a given log field’s output. Log Field slicing can be
> specified as below:
> View on docs.trafficserver.apache.org
> <https://docs.trafficserver.apache.org/en/latest/admin/event-logging-formats.en.html>
> Preview by Yahoo
>
> shows the various options.  Custom headers is the first one on that page.
>
> miles
>
>
>   ------------------------------
>  *From:* Jason Strongman <jasonstrongman2016@gmail.com>
> *To:* users@trafficserver.apache.org
> *Sent:* Monday, March 23, 2015 8:04 AM
> *Subject:* Error Log And Host Header(other headers)
>
> Is it possible to configure the error log to include the host header
> of the logged request? Also, is it possible to define other headers to
> include in the error log?
>
>
>

Mime
View raw message