[jboss-jira] [JBoss JIRA] (AS7-5043) Filtering of logging messages works incorrectly
J Sanz A (JIRA)
issues at jboss.org
Fri Nov 14 14:48:30 EST 2014
[ https://issues.jboss.org/browse/AS7-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020274#comment-13020274 ]
J Sanz A edited comment on AS7-5043 at 11/14/14 2:47 PM:
---------------------------------------------------------
jboss 7.2.0, the following still fails...
<filter value="all(not(match("JBAS014101"),match(" ;JBAS011806" ;)))"/>
only one is accepted ...how to include many "match"?
and it is very interesting the use of """ into the xml file instead of the normal symbol "
was (Author: eskuai):
jboss 7.2.0, the following still fails...
<filter value="all(not(match("JBAS014101"),match(" ;JBAS011806" ;)))"/>
only one is accepted ...how to include many "match"?
and it is very interesting the use of """ into the xml file instead of the normal symbol "
> 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: EAP 6.1.0.Alpha (7.2.0.Final)
>
>
> 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 was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list