I tried this in the new-controllers branch and it works there
[standalone@localhost:9999 /] /subsystem=logging/logger=com.arjuna:remove
{"outcome" => "success"}
On 9 Jun 2011, at 12:56, ssilvert(a)redhat.com wrote:
I'm trying to add and remove loggers and handlers. Should I be
able
to do this in a management operation? "remove-root-logger" works, but
I can't remove an ordinary logger.
[standalone@localhost:9999 /] /subsystem=logging/:remove
{
"outcome" => "failed",
"failure-description" => "No handler for remove at address
[(\"subsystem\" => \"logging\")]"
}
[standalone@localhost:9999 /] /subsystem=logging/logger=com.arjuna/:remove
{
"outcome" => "failed",
"failure-description" => "java.lang.IllegalArgumentException"
}
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev