trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Libbey <mlib...@apache.org>
Subject Re: Logging Requests and Responses for specific 400 Errors
Date Thu, 28 Jan 2016 22:17:26 GMT
 
I think you can do this in the logs_xml.config with LogFilterslogs_xml.config — Apache
Traffic Server 6.2.0 documentation

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

  
Mime
View raw message