[jboss-jira] [JBoss JIRA] (AS7-5043) Filtering of logging messages works incorrectly

Robert Mlekus (JIRA) jira-events at lists.jboss.org
Wed Jul 11 07:28:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705404#comment-12705404 ] 

Robert Mlekus commented on AS7-5043:
------------------------------------

Forum Reference [https://community.jboss.org/thread/201156]
                
> Filtering of logging messages works incorrectly
> -----------------------------------------------
>
>                 Key: AS7-5043
>                 URL: https://issues.jboss.org/browse/AS7-5043
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.1.1.Final
>            Reporter: Oleg Nitz
>            Assignee: James Perkins
>
> In standalone.xml I'm trying to filter out wrong error messages:
> <subsystem xmlns="urn:jboss:domain:logging:1.1">
>     <console-handler name="CONSOLE">
>         <filter>
>             <all>
>                 <not><match pattern="JBAS014101: Failed to find SFSB instance with session ID"/></not>
>                 <not><match pattern="JBAS011806: Channel end notification received, closing channel Channel ID"/></not>
>             </all>
>         </filter>
>     </console-handler>
> But this doesn't work, and under debugger I see that the configuration got parsed as
> "filter" => {"all" => {"not" => {"match" => "JBAS011806: Channel end notification received, closing channel Channel ID"}}},
> Looks like due to the use of maps for storing the parsing results the first "not" filter got overwritten by the second "not" filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list