[ 
https://issues.apache.org/jira/browse/TS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom resolved TS-691.
------------------------------

    Resolution: Fixed

> LogFilter not working
> ---------------------
>
>                 Key: TS-691
>                 URL: https://issues.apache.org/jira/browse/TS-691
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10, but probably others too
>            Reporter: Igor Brezac
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.7
>
>         Attachments: trafficserver.intfilter-fix.patch
>
>
> A log filter like this is not working:
> <LogFilter>
>     <Name = "example"/>
>     <Condition = "crc MATCH ERR_CLIENT_ABORT"/>
>     <Action = "REJECT"/>
> </LogFilter>
> Fix:
> --- trafficserver-2.1.6-unstable/proxy/logging/LogFilter.cc     2011-02-28 
> 12:53:23.000000000 -0500
> +++ trafficserver-2.1.6-unstable.hack/proxy/logging/LogFilter.cc        
> 2011-03-04 14:27:16.197395883 -0500
> @@ -452,7 +452,6 @@
>    int64_t value;
>    m_field->marshal(lad, (char *) &value);
> -  value = ntohl(value);
>    // we don't use m_operator because we consider all operators to be
>    // equivalent to "MATCH" for an integer field

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to