Package org.apache.commons.logging

Examples of org.apache.commons.logging.Log.debug()


                                        break;
                                    }
                                }
                            }
                            if (resolved) {
                                log.debug("Resolved polymorphic type");
                            } else {
                                log.debug("Failed to resolve polymorphic type");
                                mapping.setDescriptor(originalDescriptor);
                            }
                        }
View Full Code Here


                                }
                            }
                            if (resolved) {
                                log.debug("Resolved polymorphic type");
                            } else {
                                log.debug("Failed to resolve polymorphic type");
                                mapping.setDescriptor(originalDescriptor);
                            }
                        }
                    }
                }
View Full Code Here

                    }
                }
            }
        } catch (Exception e) {
            log.info("Failed to resolved polymorphic type");
            log.debug(mapping, e);
        }
        return result;
    }

    /**
 
View Full Code Here

                return isrc;
            }
        }
        Log log = LogFactory.getLog(MyEntityResolver.class);
        if (log.isDebugEnabled())
            log.debug("Resolve entity failed" + publicId + " " + systemId);
        log.error(Localizer.getMessage("jsp.error.parse.xml.invalidPublicId",
                publicId));
        return null;
    }
}
View Full Code Here

class MyErrorHandler implements ErrorHandler {

    public void warning(SAXParseException ex) throws SAXException {
        Log log = LogFactory.getLog(MyErrorHandler.class);
        if (log.isDebugEnabled())
            log.debug("ParserUtils: warning ", ex);
        // We ignore warnings
    }

    public void error(SAXParseException ex) throws SAXException {
        throw ex;
View Full Code Here

        for (ContributionDef def : contributions)
        {
            MappedConfiguration<K, V> validating = new ValidatingMappedConfigurationWrapper<K, V>(
                    serviceId, def, log, keyClass, valueType, keyToContribution, configuration);

            if (debug) log.debug(IOCMessages.invokingMethod(def));

            def.contribute(module, locator, validating);
        }

    }
View Full Code Here

        for (ContributionDef def : contributions)
        {
            Configuration<T> validating = new ValidatingConfigurationWrapper<T>(serviceId, log,
                    valueType, def, configuration);

            if (debug) log.debug(IOCMessages.invokingMethod(def));

            def.contribute(module, locator, validating);
        }
    }
View Full Code Here

        for (ContributionDef def : contributions)
        {
            OrderedConfiguration<T> validating = new ValidatingOrderedConfigurationWrapper<T>(
                    serviceId, def, log, valueType, configuration);

            if (debug) log.debug(IOCMessages.invokingMethod(def));

            def.contribute(module, locator, validating);
        }
    }
View Full Code Here

    {
        String serviceId = def.getServiceId();

        Log log = _registry.logForService(serviceId);

        if (log.isDebugEnabled()) log.debug(IOCMessages.creatingService(serviceId));

        try
        {
            ServiceLifecycle lifecycle = _registry.getServiceLifecycle(def.getServiceLifeycle());
View Full Code Here

       try {
          Log log = LogFactory.getLog(Log4jService.class);
          log.info("----------------------------------------------");
          log.info("Started Logging Service");
          if (log.isDebugEnabled()) {
              log.debug("Log4jService created with configFileName=" + this.configurationFile + ", refreshPeriodSeconds=" + this.refreshPeriod);
          }
          log.info("Runtime Information:");
          log.info("  Install Directory = " + DirectoryUtils.getGeronimoInstallDirectory().toString());
          log.info("  JVM in use = " + JvmVendor.getJvmInfo());
          log.info("Java Information:");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.