You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2010/01/29 16:59:51 UTC
svn commit: r904533 - in
/tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context:
ChainedTilesApplicationContextFactory.java
ChainedTilesRequestContextFactory.java
Author: apetrelli
Date: Fri Jan 29 15:59:50 2010
New Revision: 904533
URL: http://svn.apache.org/viewvc?rev=904533&view=rev
Log:
TILES-180
Merged from trunk to TILES_2_1_X branch.
Lowered log of missing context factory to "info".
Modified:
tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesApplicationContextFactory.java
tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesRequestContextFactory.java
Modified: tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesApplicationContextFactory.java
URL: http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesApplicationContextFactory.java?rev=904533&r1=904532&r2=904533&view=diff
==============================================================================
--- tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesApplicationContextFactory.java (original)
+++ tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesApplicationContextFactory.java Fri Jan 29 15:59:50 2010
@@ -108,8 +108,11 @@
} catch (ClassNotFoundException e) {
// We log it, because it could be a default configuration class that
// is simply not present.
- log.warn("Cannot find TilesContextFactory class "
- + classNames[i]);
+ if (log.isInfoEnabled()) {
+ log.info("Cannot find TilesApplicationContextFactory class "
+ + classNames[i]
+ + ", skipping support for the managed platform");
+ }
if (log.isDebugEnabled()) {
log.debug("Cannot find TilesContextFactory class "
+ classNames[i], e);
Modified: tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesRequestContextFactory.java
URL: http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesRequestContextFactory.java?rev=904533&r1=904532&r2=904533&view=diff
==============================================================================
--- tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesRequestContextFactory.java (original)
+++ tiles/framework/branches/TILES_2_1_X/tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesRequestContextFactory.java Fri Jan 29 15:59:50 2010
@@ -102,8 +102,11 @@
} catch (ClassNotFoundException e) {
// We log it, because it could be a default configuration class that
// is simply not present.
- log.warn("Cannot find TilesRequestContextFactory class "
- + classNames[i]);
+ if (log.isInfoEnabled()) {
+ log.info("Cannot find TilesRequestContextFactory class "
+ + classNames[i]
+ + ", skipping support for the managed platform");
+ }
if (log.isDebugEnabled()) {
log.debug("Cannot find TilesRequestContextFactory class "
+ classNames[i], e);