Author: snoopdave
Date: Sun Dec  5 01:08:24 2010
New Revision: 1042273

URL: http://svn.apache.org/viewvc?rev=1042273&view=rev
Log:
Fixes for Logging does not work on Websphere problem
https://issues.apache.org/jira/browse/ROL-1895

In addition to these fixes, I also had to add a file 
'common-logging.properties' to the WAS profiles/properties with this content:

      
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

See also:
http://wiki.apache.org/commons/Logging/FrequentlyAskedQuestions
http://www-01.ibm.com/support/docview.wss?uid=swg21211020

Added:
    
roller/trunk/weblogger-webapp/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory
Modified:
    roller/trunk/pom.xml
    roller/trunk/weblogger-web/src/main/resources/commons-logging.properties

Modified: roller/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/roller/trunk/pom.xml?rev=1042273&r1=1042272&r2=1042273&view=diff
==============================================================================
--- roller/trunk/pom.xml (original)
+++ roller/trunk/pom.xml Sun Dec  5 01:08:24 2010
@@ -140,7 +140,7 @@
             <dependency>
                 <groupId>log4j</groupId>
                 <artifactId>log4j</artifactId>
-                <version>1.2.12</version>
+                <version>1.2.16</version>
                 <scope>compile</scope>
             </dependency>
 

Modified: 
roller/trunk/weblogger-web/src/main/resources/commons-logging.properties
URL: 
http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/resources/commons-logging.properties?rev=1042273&r1=1042272&r2=1042273&view=diff
==============================================================================
--- roller/trunk/weblogger-web/src/main/resources/commons-logging.properties 
(original)
+++ roller/trunk/weblogger-web/src/main/resources/commons-logging.properties 
Sun Dec  5 01:08:24 2010
@@ -14,5 +14,6 @@
 # copyright in this work, please see the NOTICE file in the top level
 # directory of this distribution.
 
+priority=1
 
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
 org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

Added: 
roller/trunk/weblogger-webapp/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory
URL: 
http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory?rev=1042273&view=auto
==============================================================================
--- 
roller/trunk/weblogger-webapp/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory
 (added)
+++ 
roller/trunk/weblogger-webapp/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory
 Sun Dec  5 01:08:24 2010
@@ -0,0 +1 @@
+org.apache.commons.logging.impl.Log4jFactory
\ No newline at end of file


Reply via email to