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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Oct 21 11:18:03 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-5043:
----------------------------------

    Fix Version/s: 7.2.0.Alpha1

    
> 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
>             Fix For: 7.2.0.Alpha1
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list