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

Kabir Khan kabir.khan at jboss.com
Thu Jun 9 08:50:35 EDT 2011


Probably not until next week. 

Not sure if it makes any difference but maybe try without the '/' before the ':'
On 9 Jun 2011, at 13:48, Heiko Braun wrote:

> 
> 
> when do we get this branch upstream?
> 
> On Jun 9, 2011, at 2:38 PM, Kabir Khan wrote:
> 
>> 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
>> 
>> _______________________________________________
>> 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