[JBoss JIRA] (LOGMGR-259) Named filters throw an IllegalArgumentException if they are embedded in an expression
by James Perkins (Jira)
[ https://issues.jboss.org/browse/LOGMGR-259?page=com.atlassian.jira.plugin... ]
James Perkins updated LOGMGR-259:
---------------------------------
Fix Version/s: 1.3.3.Final
1.4.4.Final
1.5.10.Final
2.0.12.Final
2.1.14.Final
2.2.0.Final
> Named filters throw an IllegalArgumentException if they are embedded in an expression
> -------------------------------------------------------------------------------------
>
> Key: LOGMGR-259
> URL: https://issues.jboss.org/browse/LOGMGR-259
> Project: JBoss Log Manager
> Issue Type: Bug
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Major
> Fix For: 1.3.3.Final, 1.4.4.Final, 1.5.10.Final, 2.0.12.Final, 2.1.14.Final, 2.2.0.Final
>
>
> A named filter, one that was added via the configuration API, will throw an {{IllegalArgumentException}} if they are embedded in a filter expression.
> The following should be a valid expression as "all" is a changed filter and "test" is the manually created filter.
> {code}
> logContextConfiguration.addFilterConfiguration(null, "org.jboss.filter.Test", "test");
> logContextConfiguration.getLoggerConfiguration("").setFilter("all(test)");
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 9 months
[JBoss JIRA] (LOGMGR-259) Named filters throw an IllegalArgumentException if they are embedded in an expression
by James Perkins (Jira)
James Perkins created LOGMGR-259:
------------------------------------
Summary: Named filters throw an IllegalArgumentException if they are embedded in an expression
Key: LOGMGR-259
URL: https://issues.jboss.org/browse/LOGMGR-259
Project: JBoss Log Manager
Issue Type: Bug
Reporter: James Perkins
Assignee: James Perkins
A named filter, one that was added via the configuration API, will throw an {{IllegalArgumentException}} if they are embedded in a filter expression.
The following should be a valid expression as "all" is a changed filter and "test" is the manually created filter.
{code}
logContextConfiguration.addFilterConfiguration(null, "org.jboss.filter.Test", "test");
logContextConfiguration.getLoggerConfiguration("").setFilter("all(test)");
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 9 months