Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-6013

Apache Axis2 1.8.0 seems to have DEBUG level logging enabled by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.8.1
    • deployment
    • None
    • CentOS Linux 7, Apache Tomcat 8.5.71, Axis2 1.8.0

    Description

      In v1.8.0 of the Axis2 webapp, the \webapp\WEB-INF\classes\log4j2.xml file has the following config by default:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <Configuration status="debug" name="axis2" packages="">
          <Appenders>
              <Console name="Console" target="SYSTEM_OUT">
                  <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
              </Console>
          </Appenders>
          <Loggers>
              <Logger name="org.apache" level="warn" additivity="false" >
                  <AppenderRef ref="Console"/>
              </Logger>
              <Logger name="org.apache.axis2" level="debug" additivity="false" >
                  <AppenderRef ref="Console"/>
              </Logger>
              <Logger name="org.springframework" level="warn" additivity="false" >
                  <AppenderRef ref="Console"/>
              </Logger>
              <Root level="debug">
                  <AppenderRef ref="Console"/>
              </Root>
          </Loggers>
      </Configuration>

       

      This causes a lot of log msgs to be logged into Apache Tomcat's catalina.out log file.

       Could the Root level be set as info and the name="org.apache.axis2" logger be commented or changed to info as well?

       

      Attachments

        Activity

          People

            veithen Andreas Veithen
            jchoksijudopay Jinesh Choksi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: