trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Beardsley <>
Subject Re: Logging Requests and Responses for specific 400 Errors
Date Fri, 29 Jan 2016 01:07:36 GMT
I'm not aware of a way to do this with opensource ATS either. Yahoo has an internal plugin
which forks the request and publishes into an external redis-based datastore. You might try
doing something similar. I'll pressure internal folks to opensource our plugin if there is

    On Thursday, January 28, 2016 5:03 PM, Jason J. W. Williams <>

 Combing through those docs again I don't think ATS can log full requests and responses. The
closest logging parameter that seems to be offered is "cqtx" which logs the full request sans
headers (which we need to see...Squid has log_mime_hdrs that does this but I don't see an
equivalent in ATS), and I don't see any field that logs the full response. 
If anybody knows differently, I'd love to be wrong. Thanks again.
On Thu, Jan 28, 2016 at 2:40 PM, Jason J. W. Williams <> wrote:

Oh awesome. Thank you Miles. I was having trouble piecing it together from the docs.
On Thu, Jan 28, 2016 at 2:17 PM, Miles Libbey <> wrote:

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 (
or the log builder
<LogFormat>  <Name = "log_errors"/>  <Format = "%<cqtq> more stuff
then the filter<LogFilter>
    <Name = "log_errors"/>
    <Condition = "pssc CONTAIN 403"/>
    <Action = "ACCEPT"/>
    On Wednesday, January 27, 2016 11:53 AM, Jason J. W. Williams <>

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?


View raw message