You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Jira)" <ji...@apache.org> on 2021/10/05 21:03:00 UTC

[jira] [Resolved] (AXIS2-6013) Apache Axis2 1.8.0 seems to have DEBUG level logging enabled by default

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

Andreas Veithen resolved AXIS2-6013.
------------------------------------
    Fix Version/s: 1.8.1
       Resolution: Fixed

> 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
>            Assignee: Andreas Veithen
>            Priority: Major
>             Fix For: 1.8.1
>
>
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org