You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Brezac (JIRA)" <ji...@apache.org> on 2011/03/05 03:35:45 UTC

[jira] Created: (TS-691) LogFilter not working

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


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

        

[jira] Resolved: (TS-691) LogFilter not working

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ 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

[jira] Updated: (TS-691) LogFilter not working

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-691:
-----------------------------

    Fix Version/s: 2.1.7

> 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

[jira] Updated: (TS-691) LogFilter not working

Posted by "Eric Connell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Connell updated TS-691:
----------------------------

    Attachment: trafficserver.intfilter-fix.patch

patch as an attachment

> 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
>         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

        

[jira] Assigned: (TS-691) LogFilter not working

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-691:
--------------------------------

    Assignee: Leif Hedstrom

> 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
>
> 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