You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/07/17 08:37:19 UTC
svn commit: r1753029 - /ofbiz/trunk/framework/base/config/log4j2.xml
Author: jleroux
Date: Sun Jul 17 08:37:19 2016
New Revision: 1753029
URL: http://svn.apache.org/viewvc?rev=1753029&view=rev
Log:
Fixes an issue in the log where only warning were shown. Related with <<Rename OFBiz artifacts from 'org.ofbiz.*' to org.apache.ofbiz.*'>> - https://issues.apache.org/jira/browse/OFBIZ-6274
We had already the org.apache logger. IIRW, it's because we use Apache libs (eg Tomcat) and we want to be warned when issues appear at this level.
By adding the org.apache.ofbiz info logger we should keep warnings a the org.apache level and get info at the org.apache.ofbiz level
I'm though unsure why we needed
<logger name="org.apache.ofbiz.base.converter.Converters" level="warn"/>
which seems contradictory. I Googled for an explanation but I'm still short of it. I'll check with http://logging.apache.org/log4j/2.x/manual/configuration.html.
For now it works, so I apply the patch because it's already a relief and will help to resolve the harder problem of instable tests results.
Modified:
ofbiz/trunk/framework/base/config/log4j2.xml
Modified: ofbiz/trunk/framework/base/config/log4j2.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/log4j2.xml?rev=1753029&r1=1753028&r2=1753029&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/config/log4j2.xml (original)
+++ ofbiz/trunk/framework/base/config/log4j2.xml Sun Jul 17 08:37:19 2016
@@ -40,8 +40,9 @@
</Async>
</Appenders>
<Loggers>
- <logger name="org.apache.ofbiz.base.converter.Converters" level="warn"/>
<logger name="org.apache" level="warn"/>
+ <logger name="org.apache.ofbiz" level="info"/>
+ <logger name="org.apache.ofbiz.base.converter.Converters" level="warn"/>
<logger name="freemarker" level="warn"/>
<Root level="all">