[ 
https://issues.apache.org/jira/browse/AXIS2-6013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinesh Choksi updated AXIS2-6013:
---------------------------------
    Description: 
In v1.8.0 of the Axis2 webapp, the \webapp\WEB-INF\classes\log4j2.xml file has 
the following config by default:

 
{noformat}
<?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>{noformat}
 

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?

 

  was:
In v1.8.0 the \webapp\WEB-INF\classes\log4j2.xml file has the following config 
is as follows:

 
{noformat}
<?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>{noformat}
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?

 


> Apache Axis2 1.8.0 seems to have DEBUG level logging enabled by default
> -----------------------------------------------------------------------
>
>                 Key: AXIS2-6013
>                 URL: https://issues.apache.org/jira/browse/AXIS2-6013
>             Project: Axis2
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.8.0
>         Environment: CentOS Linux 7, Apache Tomcat 8.5.71, Axis2 1.8.0
>            Reporter: Jinesh Choksi
>            Priority: Major
>
> In v1.8.0 of the Axis2 webapp, the \webapp\WEB-INF\classes\log4j2.xml file 
> has the following config by default:
>  
> {noformat}
> <?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>{noformat}
>  
> 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?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to