[jboss-jira] [JBoss JIRA] (WFCORE-2886) remove-handler operation succeeds when removing non-existent handler
James Perkins (JIRA)
issues at jboss.org
Tue May 30 11:23:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413864#comment-13413864 ]
James Perkins commented on WFCORE-2886:
---------------------------------------
Unless I'm missing something this already fails in WildFly Core:
{code}
[standalone at localhost:9990 /] /subsystem=logging/root-logger=ROOT:remove-handler(name=FILE)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"logging\"),
(\"root-logger\" => \"ROOT\")
]' not found",
"rolled-back" => true
}
{code}
> remove-handler operation succeeds when removing non-existent handler
> --------------------------------------------------------------------
>
> Key: WFCORE-2886
> URL: https://issues.jboss.org/browse/WFCORE-2886
> Project: WildFly Core
> Issue Type: Bug
> Components: Logging
> Reporter: Michal Petrov
> Assignee: Michal Petrov
>
> When trying to remove a handler that doesn't exist the operation should fail. E.g.
> {code}
> /subsystem=logging/root-logger=ROOT:remove-handler(name="ABC")
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list