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 "Jinesh Choksi (Jira)" <ji...@apache.org> on 2021/10/03 18:40:00 UTC
[jira] [Created] (AXIS2-6013) Apache Axis2 1.8.0 seems to have
DEBUG level logging enabled by default
Jinesh Choksi created AXIS2-6013:
------------------------------------
Summary: 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
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?
--
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