[jboss-jira] [JBoss JIRA] (WFLY-1791) Unable to use Filter Expressions in filter-spec
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Thu Sep 12 05:46:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803778#comment-12803778 ]
RH Bugzilla Integration commented on WFLY-1791:
-----------------------------------------------
Petr Kremensky <pkremens at redhat.com> made a comment on [bug 982303|https://bugzilla.redhat.com/show_bug.cgi?id=982303]
I had an issue with creating filter-spec through the cli.
There are two attributes in every logging handler, filter and filter-spec.
Filter accepts type OBJECT, but it is deprecated now and filter-spec should be used as alternative.
see CLI read-resource output:
"filter" => { "type" => OBJECT,
"description" => "Defines a simple filter type.",
"alternatives" => ["filter-spec"],
"deprecated" => {
"since" => "1.2.0",
"reason" => "Use filter-spec."
},
....
Filter-spec accepts Strings and should be able to cover functionality of original filter.
My problem is, that I am unable to create more complicated filters with filter-spec eg. :write-attribute(name=filter-spec, value=substituteAll("JBAS","DUMMY")).
> Unable to use Filter Expressions in filter-spec
> ------------------------------------------------
>
> Key: WFLY-1791
> URL: https://issues.jboss.org/browse/WFLY-1791
> Project: WildFly
> Issue Type: Bug
> Components: CLI
> Reporter: Emmanuel Hugonnet
> Assignee: Alexey Loubyansky
> Priority: Minor
>
--
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