Examples of info()


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

        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.info()

        public void run() {
            XLog log = XLog.getLog(getClass());
            try {
                WorkflowStore store = Services.get().get(WorkflowStoreService.class).create();
                log.info("Get [{0}]", nameIndex);
                store.beginTrx();
                store.getWorkflow(id, false);
                log.info("Got [{0}]", nameIndex);
                sb.append(nameIndex + "-L ");
                synchronized (this) {
View Full Code Here

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

                System.out.println("Apache OpenEJB " + versionInfo.getVersion() + "    build: " + versionInfo.getDate() + "-" + versionInfo.getTime());
                System.out.println("" + versionInfo.getUrl());
            }

            Logger logger2 = Logger.getInstance(LogCategory.OPENEJB, "org.apache.openejb.util.resources");
            logger2.info("startup.banner", versionInfo.getUrl(), new Date(), versionInfo.getCopyright(),
                    versionInfo.getVersion(), versionInfo.getDate(), versionInfo.getTime());

            logger.info("openejb.home = " + SystemInstance.get().getHome().getDirectory().getAbsolutePath());
            logger.info("openejb.base = " + SystemInstance.get().getBase().getDirectory().getAbsolutePath());
View Full Code Here

Examples of org.apache.openjpa.lib.log.Log.info()

            return null;
        }

        boolean redefine = ClassRedefiner.canRedefineClasses();
        if (redefine)
            log.info(_loc.get("enhance-and-subclass-no-redef-start",
                classes));
        else
            log.info(_loc.get("enhance-and-subclass-and-redef-start",
                classes));
View Full Code Here

Examples of org.apache.provisionr.core.logging.StreamLogger.info()

        ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes);

        final StreamLogger logger = new StreamLogger(inputStream, LOG, MarkerFactory.getMarker("test")) {
            @Override
            protected void log(Logger logger, Marker marker, String line) {
                logger.info(marker, line)/* just for visual inspection */
                lines.add(line);
            }
        };
        logger.start();

View Full Code Here

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

public class AnnotatedHealthCheckSample implements HealthCheck{

    @Override
    public Result execute() {
        final FormattingResultLog resultLog = new FormattingResultLog();
        resultLog.info("All good at {}", new Date());
        return new Result(resultLog);
    }
}
View Full Code Here

Examples of org.apache.sling.junit.Renderer.info()

            throw new ServletException("No Renderer found for " + selector);
        }
        log.debug("GET request: {}", selector);

        renderer.setup(response, getClass().getSimpleName());
        renderer.info("info", "Test selector: " + selector);
       
        // Any test classes?
        final List<String> testNames = getTestNames(selector, forceReload);
        if(testNames.isEmpty()) {
            renderer.info(
View Full Code Here

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

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

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

            {
                System.out.println("(!) NOTICE: " + msg);
            }
            else
            {
                logger.info(msg);
            }
        }
        else
        {
            System.out.println("NOTICE: " + msg);
View Full Code Here

Examples of org.apache.wicket.Page.info()

  {
    Session session = tester.setupRequestAndResponse().getSession();
    final Page page = new TestPage_1();
    tester.startPage(page);
    page.debug("debug message");
    page.info("info message");
    page.error("error message");
    Assert.assertTrue(session.getFeedbackMessages().hasMessageFor(page, FeedbackMessage.ERROR));
  }
}
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.