[jboss-as7-dev] Add/Remove Loggers and Handlers

Kabir Khan kabir.khan at jboss.com
Thu Jun 9 08:38:46 EDT 2011


I tried this in the new-controllers branch and it works there
[standalone at localhost:9999 /] /subsystem=logging/logger=com.arjuna:remove
{"outcome" => "success"}

On 9 Jun 2011, at 12:56, ssilvert at 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 at localhost:9999 /] /subsystem=logging/:remove
> {
>     "outcome" => "failed",
>     "failure-description" => "No handler for remove at address  
> [(\"subsystem\" => \"logging\")]"
> }
> [standalone at localhost:9999 /] /subsystem=logging/logger=com.arjuna/:remove
> {
>     "outcome" => "failed",
>     "failure-description" => "java.lang.IllegalArgumentException"
> }
> 
> 
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list