]
James Perkins closed WFLY-1465.
-------------------------------
Resolution: Out of Date
This no longer seems to be an issue.
Composite operations failing with incorrect description
-------------------------------------------------------
Key: WFLY-1465
URL:
https://issues.jboss.org/browse/WFLY-1465
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Logging
Reporter: James Perkins
Assignee: James Perkins
Attachments: configure-logging.cli
Running the attached script will fail with the message:
{code}
#1
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_WARN:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.warn.log",
"relative-to"=>"jboss.server.log.dir"})
#2
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_ERROR:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.error.log",
"relative-to"=>"jboss.server.log.dir"})
#3
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_INFO:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.info.log",
"relative-to"=>"jboss.server.log.dir"})
#4
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_DEBUG:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.debug.log",
"relative-to"=>"jboss.server.log.dir"})
#5
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_TRACE:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.trace.log",
"relative-to"=>"jboss.server.log.dir"})
#6
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_FATAL:add(suffix=".yyyy.MM.dd",
file={"path"=>"quickstart.fatal.log",
"relative-to"=>"jboss.server.log.dir"})
#7
/subsystem=logging/async-handler=WARN_QS_ASYNC:add(level=WARN,queue-length=1024,overflow-action=BLOCK,subhandlers=["FILE_QS_WARN"])
#8 /subsystem=logging/logger=org.jboss.as.quickstarts.logging:add(level=TRACE)
#9
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="WARN_QS_ASYNC")
#10
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="FILE_QS_ERROR")
#11
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="FILE_QS_INFO")
#12
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="FILE_QS_DEBUG")
#13
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="FILE_QS_TRACE")
#14
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:assign-handler(name="FILE_QS_FATAL")
{"JBAS014653: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-9" => "JBAS011536: Handler
FILE_QS_FATAL is already assigned."}}
{code}
The first issue is that it shouldn't be failing. The second issue is the handler name
that failed, is not the same handler that's on the step.