Oh awesome. Thank you Miles. I was having trouble piecing it together from
the docs.
-J
On Thu, Jan 28, 2016 at 2:17 PM, Miles Libbey <mlibbey@apache.org> wrote:
>
> I think you can do this in the logs_xml.config with LogFilters
> logs_xml.config — Apache Traffic Server 6.2.0 documentation
> <https://docs.trafficserver.apache.org/en/latest/admin-guide/files/logs_xml.config.en.html#logfilter>
>
> You first describe the log you want (
> https://docs.trafficserver.apache.org/en/latest/admin-guide/monitoring/logging/log-formats.en.html#custom-logging-fields
> or the log builder
> http://trafficserver.apache.org/logbuilder/
>
> <LogFormat>
> <Name = "log_errors"/>
> <Format = "%<cqtq> more stuff here..."/>
> </LogFormat>
>
> then the filter
>
> <LogFilter>
> <Name = "log_errors"/>
> <Condition = "pssc CONTAIN 403"/>
> <Action = "ACCEPT"/>
> </LogFilter>
>
>
> On Wednesday, January 27, 2016 11:53 AM, Jason J. W. Williams <
> jasonjwwilliams@gmail.com> wrote:
>
>
> Hi,
>
> We're trying to debug an intermittent 400 error our client see. Is it
> possible to configure ATS to log the full request and response for
> ERR_UNKNOWN/400 errors?
>
> -J
>
>
>
|