Author: manik.surtani(a)jboss.com
Date: 2008-10-31 11:18:50 -0400 (Fri, 31 Oct 2008)
New Revision: 7046
Modified:
core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java
Log:
Reduced severity of cfg format warning msg
Modified: core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java 2008-10-31 15:01:12
UTC (rev 7045)
+++ core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java 2008-10-31 15:18:50
UTC (rev 7046)
@@ -179,8 +179,8 @@
{
XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
c = oldParser.parseStream(is);
- if (c != null)
- log.warn("Detected legacy configuration file format when parsing
configuration file. Migrating to the new (3.x) file format is recommended. See FAQs for
details.");
+ if (c != null && log.isInfoEnabled())
+ log.info("Detected legacy configuration file format when parsing
configuration file. Migrating to the new (3.x) file format is recommended. See FAQs for
details.");
}
return createCache(c);
}
Show replies by date