[jboss-jira] [JBoss JIRA] (WFCORE-3359) Use non-compact ModelNode.writeString to print operation failure messages on multiple lines in the log

Brian Stansberry (JIRA) issues at jboss.org
Fri Oct 13 10:30:00 EDT 2017


Brian Stansberry created WFCORE-3359:
----------------------------------------

             Summary: Use non-compact ModelNode.writeString to print operation failure messages on multiple lines in the log
                 Key: WFCORE-3359
                 URL: https://issues.jboss.org/browse/WFCORE-3359
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor


When we log operation failures perhaps the logging would be better if we used the non-compact representation of DMR.

We need to confirm with GSS and folks  like [~jamezp] that this is a good idea. A concern is the message has more lines, but it's often already a multi-line message.

See also some of the discussion on JBEAP-10713.

I think this is basically a change at:

https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java#L982

https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java#L1003

https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java#L1007



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list