Author: jstrachan Date: Tue Jun 12 06:49:52 2007 New Revision: 546483 URL: http://svn.apache.org/viewvc?view=rev&rev=546483 Log: removed some logging Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java?view=diff&rev=546483&r1=546482&r2=546483 ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java Tue Jun 12 06:49:52 2007 @@ -21,6 +21,8 @@ import org.apache.activemq.broker.BrokerService; import org.apache.xbean.spring.context.ResourceXmlApplicationContext; import org.apache.xbean.spring.context.impl.URIEditor; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.core.io.ClassPathResource; @@ -38,6 +40,7 @@ * @version $Revision$ */ public class XBeanBrokerFactory implements BrokerFactoryHandler { + private static final transient Log log = LogFactory.getLog(XBeanBrokerFactory.class); static { PropertyEditorManager.registerEditor(URI.class, URIEditor.class); @@ -76,7 +79,8 @@ } protected ApplicationContext createApplicationContext(String uri) throws MalformedURLException { - System.out.println("Now attempting to figure out the type of resource: " + uri); + log.debug("Now attempting to figure out the type of resource: " + uri); + Resource resource; File file = new File(uri); if (file.exists()) {