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

ssilvert at redhat.com ssilvert at redhat.com
Thu Jun 9 11:17:43 EDT 2011


Quoting Brian Stansberry <brian.stansberry at redhat.com>:

> On 6/9/11 7:50 AM, Kabir Khan wrote:
>> Probably not until next week.
>>
>> Not sure if it makes any difference but maybe try without the '/'   
>> before the ':'
>
> If that doesn't work, let me know. There's no reason this should work
> differently on master.

It doesn't work on master.  Trailing slash or not.

>
>> 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
>>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> Brian Stansberry
> Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> 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