[jboss-jira] [JBoss JIRA] (WFLY-43) Unable to turn on/off logging handlers using enable()/disable() in CLI

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Jul 23 14:37:15 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791814#comment-12791814 ] 

RH Bugzilla Integration commented on WFLY-43:
---------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 915317|https://bugzilla.redhat.com/show_bug.cgi?id=915317] from VERIFIED to CLOSED
                
> Unable to turn on/off logging handlers using enable()/disable() in CLI
> ----------------------------------------------------------------------
>
>                 Key: WFLY-43
>                 URL: https://issues.jboss.org/browse/WFLY-43
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management, Logging
>            Reporter: Brian Stansberry
>            Assignee: James Perkins
>             Fix For: 8.0.0.Alpha1
>
>
> Peter Kremens reports:
> I am unable to use enable/disable operation in logging handlers.
>  
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "autoflush" => true,
>         "enabled" => true,
>         ...
>     }
> }
> {code}
> Calling disable() won't affect enabled attribute
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:disable()
> {"outcome" => "success"}
> [standalone at localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "autoflush" => true,
>         "enabled" => true,
>         ...
>     }
> }
> {code}
> Must use write-attribute instead
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/console-handler=CONSOLE/:write-attribute(name=enabled, value=false)
> {"outcome" => "success"}
> [standalone at localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "autoflush" => true,
>         "enabled" => false,
>         ...
>     }
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list