Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8748

CONSOLE handler in Domain "full-ha" profile

    Details

      Description

      In EAP 7 console-handler was disabled by default in standalone-full-ha.xml because this profile is intended for production use. But "full-ha" profile in domain.xml contain the CONSOLE handler, by the same reasoning, it should not be there.

      Logging subsystem configuration in domain.xml "full-ha" profile :

      <profile name="full-ha">
                  <subsystem xmlns="urn:jboss:domain:logging:3.0">
                      <console-handler name="CONSOLE">
                          <level name="INFO"/>
                          <formatter>
                              <named-formatter name="COLOR-PATTERN"/>
                          </formatter>
                      </console-handler>
                      <periodic-rotating-file-handler name="FILE" autoflush="true">
                          <formatter>
                              <named-formatter name="PATTERN"/>
                          </formatter>
                          <file relative-to="jboss.server.log.dir" path="server.log"/>
                          <suffix value=".yyyy-MM-dd"/>
                          <append value="true"/>
                      </periodic-rotating-file-handler>
                      <logger category="com.arjuna">
                          <level name="WARN"/>
                      </logger>
                      <logger category="org.jboss.as.config">
                          <level name="DEBUG"/>
                      </logger>
                      <logger category="sun.rmi">
                          <level name="WARN"/>
                      </logger>
                      <root-logger>
                          <level name="INFO"/>
                          <handlers>
                              <handler name="CONSOLE"/>
                              <handler name="FILE"/>
                          </handlers>
                      </root-logger>
                      <formatter name="PATTERN">
                          <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
                      </formatter>
                      <formatter name="COLOR-PATTERN">
                          <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
                      </formatter>
                  </subsystem>
      ....
      </profile>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  jamezp James Perkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: