You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2009/04/29 23:01:12 UTC
svn commit: r769927 - in /portals/jetspeed-2/portal/trunk:
applications/jetspeed/src/main/webapp/WEB-INF/
jetspeed-portal-resources/src/main/resources/assembly/
Author: ate
Date: Wed Apr 29 21:01:11 2009
New Revision: 769927
URL: http://svn.apache.org/viewvc?rev=769927&view=rev
Log:
JS2-972: commons-logging unsuited for cross-context webapplication invocation usage - migrating to slf4j
Fixing Velocity logging using slf4j.
Turned out since Velocity 1.5 the log4j logger now needs to be specified as .logger instead of as previously .category ...
Modified:
portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/velocity.properties
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/administration.xml
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax-layout.xml
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax.xml
Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/velocity.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/velocity.properties?rev=769927&r1=769926&r2=769927&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/velocity.properties (original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/velocity.properties Wed Apr 29 21:01:11 2009
@@ -30,8 +30,8 @@
# use Log4J for routing Velocity messages
runtime.log.logsystem.class =org.apache.velocity.runtime.log.Log4JLogChute
-# Log4J Category used (default is "velocity")
-runtime.log.logsystem.log4j.category = velocity
+# Log4J Logger used (default is "velocity")
+runtime.log.logsystem.log4j.logger = velocity
#----------------------------------------------------------------------------
# T E M P L A T E E N C O D I N G
Modified: portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/administration.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/administration.xml?rev=769927&r1=769926&r2=769927&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/administration.xml (original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/administration.xml Wed Apr 29 21:01:11 2009
@@ -46,7 +46,7 @@
<prop key="runtime.log.logsystem.class">
org.apache.velocity.runtime.log.Log4JLogChute
</prop>
- <prop key="runtime.log.logsystem.log4j.category">velocity</prop>
+ <prop key="runtime.log.logsystem.log4j.logger">velocity</prop>
<!-- clear out default global VM_global_library.vm leading to ERROR logging because its not available -->
<prop key="velocimacro.library"></prop>
</props>
Modified: portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax-layout.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax-layout.xml?rev=769927&r1=769926&r2=769927&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax-layout.xml (original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax-layout.xml Wed Apr 29 21:01:11 2009
@@ -678,7 +678,7 @@
<prop key="runtime.log.logsystem.class">
org.apache.velocity.runtime.log.Log4JLogChute
</prop>
- <prop key="runtime.log.logsystem.log4j.category">velocity</prop>
+ <prop key="runtime.log.logsystem.log4j.logger">velocity</prop>
<!-- clear out default global VM_global_library.vm leading to ERROR logging because its not available -->
<prop key="velocimacro.library"></prop>
<prop key="resource.loader">class</prop>
Modified: portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax.xml?rev=769927&r1=769926&r2=769927&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax.xml (original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/ajax.xml Wed Apr 29 21:01:11 2009
@@ -43,7 +43,7 @@
<prop key="runtime.log.logsystem.class">
org.apache.velocity.runtime.log.Log4JLogChute
</prop>
- <prop key="runtime.log.logsystem.log4j.category">velocity</prop>
+ <prop key="runtime.log.logsystem.log4j.logger">velocity</prop>
<!-- clear out default global VM_global_library.vm leading to ERROR logging because its not available -->
<prop key="velocimacro.library"></prop>
</props>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org