Why assign-handler operation of logger can not run under batch mode using CLI
Issue
-
While using JBoss EAP 6.3 in Standalone mode problem observed while adding logging configuration using CLI command in batch mode.
[standalone@localhost:9999 /] batch [standalone@localhost:9999 / #] /subsystem=logging/logger=aaa.bbb:add [standalone@localhost:9999 / #] /subsystem=logging/logger=aaa.bbb:assign-handler(name=FILE) [standalone@localhost:9999 / #] run-batch {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS011536: Handler FILE is already assigned."}}These CLI command works fine if we don't run the script in batch mode.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.