I wonder if logger.info should be used instead?

public void postProcessBeanFactory(ConfigurableListableBeanFactory
beanFactory) throws BeansException {
        log.info(":: BeanFactoryPostProcessor::postProcessBeanFactory called
::");
        if ( releaseId == null && configFilePath != null) {
            fixConfigFilePathForVfs();
            String pomProperties = null;
            if ( configFilePath.endsWith("WEB-INF/classes/")){
                String configFilePathForWebApps =
configFilePath.substring(0, configFilePath.indexOf("WEB-INF/classes/"));
                pomProperties =
ClasspathKieProject.getPomProperties(configFilePathForWebApps);
            } else {
                pomProperties =
ClasspathKieProject.getPomProperties(configFilePath);
            }
            if (pomProperties != null) {
                releaseId =
ReleaseIdImpl.fromPropertiesString(pomProperties);
            } else {
                releaseId = new ReleaseIdImpl("org.default",
"artifact","1.0.0-SNAPSHOT");
            }
            KieSpringUtils.setDefaultReleaseId(releaseId);
            System.out.println("releaseId == "+releaseId);
        }



--
View this message in context: 
http://drools.46999.n3.nabble.com/System-out-in-org-kie-spring-KModuleBeanFactoryPostProcessor-Line-103-tp4028297.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to