Examples of debug()


Examples of org.apache.logging.log4j.Logger.debug()


    @Test
    public void testProperties() {
        final Logger logger = LogManager.getLogger(RewriteAppenderTest.class);
        logger.debug("Test properties rewrite");
        final List<String> list = app2.getMessages();
        assertNotNull("No events generated", list);
        assertTrue("Incorrect number of events. Expected 1, got " + list.size(), list.size() == 1);
        assertFalse("Did not resolve user name", list.get(0).contains("{user.dir}"));
    }
View Full Code Here

Examples of org.apache.logging.log4j.core.Logger.debug()

        root.setAdditive(false);
        root.setLevel(Level.DEBUG);

        final SimpleSmtpServer server = SimpleSmtpServer.start(PORTNUM);

        root.debug("Debug message #1");
        root.debug("Debug message #2");
        root.debug("Debug message #3");
        root.debug("Debug message #4");
        root.error("Error with exception", new RuntimeException("Exception message"));
View Full Code Here

Examples of org.apache.maven.plugin.logging.Log.debug()

     */
    protected void buildArchive(Archiver archiver)
            throws ArchiverException, MojoExecutionException {
       
        Log log = getLog();
        log.debug("Using base directory: " + baseDir);
        archiver.addDirectory(buildOutputDirectory);
        if (includeDependencies) {
            log.debug("Adding dependencies ...");
            addDependencies(archiver);
        }
View Full Code Here

Examples of org.apache.maven.plugin.logging.SystemStreamLog.debug()

            "com.betfair.baseline", ".", "/target/generated-sources", log,
            new Service().getOutputDir(), true, true);
   
        // First let's mangle the document if need be.
        if (transform.getManglers() != null) {
          log.debug("mangling IDL using "+transform.getManglers().size()+" pre validations");
          for(DocumentMangler m : transform.getManglers()) {
            log.debug(m.getName());
                reader.mangle(m);
            }
        log.debug(reader.serialize());
View Full Code Here

Examples of org.apache.ojb.broker.util.logging.Logger.debug()

        rsiterator.debug(prefix + "Should be with DEBUG level");
        rsiterator.info(prefix + "Should be with INFO level");
        rsiterator.warn(prefix + "Should be with WARN level");

        boot.debug(prefix + "Should be with DEBUG level");
        boot.info(prefix + "Should be with INFO level");
        boot.warn(prefix + "Should be with WARN level");
    }
}
View Full Code Here

Examples of org.apache.oozie.util.XLog.debug()

            jpaService = Services.get().get(JPAService.class);
            runWFRecovery();
            runCoordActionRecovery();
            runCoordActionRecoveryForReady();
            runBundleRecovery();
            log.debug("QUEUING [{0}] for potential recovery", msg.toString());
            boolean ret = false;
            if (null != callables) {
                ret = Services.get().get(CallableQueueService.class).queueSerial(callables);
                if (ret == false) {
                    log.warn("Unable to queue the callables commands for RecoveryService. "
View Full Code Here

Examples of org.apache.openejb.util.Logger.debug()

        serviceRecipe.allow(Option.IGNORE_MISSING_PROPERTIES);
        serviceRecipe.setAllProperties(info.properties);

        if (serviceLogger.isDebugEnabled()){
            for (Map.Entry<String, Object> entry : serviceRecipe.getProperties().entrySet()) {
                serviceLogger.debug("createService.props", entry.getKey(), entry.getValue());
            }
        }
        return serviceRecipe;
    }
View Full Code Here

Examples of org.apache.sling.hc.util.FormattingResultLog.debug()

                s = repository.login(creds);
                if(s != null) {
                    failures++;
                    resultLog.warn("Login as [{}] succeeded, was expecting it to fail", username);
                } else {
                    resultLog.debug("Login as [{}] didn't throw an Exception but returned null Session", username);
                }
            } catch(RepositoryException re) {
                resultLog.debug("Login as [{}] failed, as expected", username);
            } finally {
                if(s != null) {
View Full Code Here

Examples of org.apache.turbine.services.logging.Logger.debug()

    public void debug(String logName, String message, Throwable t)
    {
        Logger logger = getLogger(logName);
        if (logger != null)
        {
            logger.debug(message, t);
        }
        else
        {
            defaultLogger.debug("FROM logger:" + logName + ": " + message);
        }
View Full Code Here

Examples of org.apache.turbine.services.logging.LoggingService.debug()

     */
    public static void debug(String message)
    {
        LoggingService logger = (LoggingService)TurbineServices.getInstance()
            .getService(LoggingService.SERVICE_NAME);
        logger.debug(message);
    }

    /**
     * This is a log method with logLevel == DEBUG, printing is done by
     * the default logger
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.