I am unable to use enable/disable operation in logging handlers. [standalone@localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource { "outcome" => "success", "result" => { "autoflush" => true, "enabled" => true, ... } } Calling disable() won't affect enabled attribute [standalone@localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:disable() {"outcome" => "success"} [standalone@localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource { "outcome" => "success", "result" => { "autoflush" => true, "enabled" => true, ... } } Must use write-attribute instead [standalone@localhost:9999 /] /subsystem=logging/console-handler=CONSOLE/:write-attribute(name=enabled, value=false) {"outcome" => "success"} [standalone@localhost:9999 /] /subsystem=logging/console-handler=CONSOLE:read-resource { "outcome" => "success", "result" => { "autoflush" => true, "enabled" => false, ... } }
James, please assign bz 915317 to yourself. Thanks.
James Perkins <jperkins> updated the status of jira AS7-6664 to Coding In Progress
James Perkins <jperkins> made a comment on jira AS7-6664 Closed PR to incorporate into a better change set.
The issue is not fixed in EAP 6.1.0 ER3
Verified on EAP 6.1.0 ER4