Examples of info()


Examples of org.apache.commons.logging.impl.Log4JLogger.info()

    public void info(Object arg0)
    {
        Log4JLogger logger = getLogger();
        if ( logger != null )
        {
            logger.info(arg0);
        }
    }
    public void info(Object arg0, Throwable arg1)
    {
        Log4JLogger logger = getLogger();
View Full Code Here

Examples of org.apache.felix.cm.integration.helper.Log.info()

    @Test
    public void test_ConcurrentManagedServicesWithConcurrentConfigurations()
    {
        final Log log = new Log(bundleContext);
        log.info("starting test_ConcurrentManagedServicesWithConcurrentConfigurations");
        // Use at least 10 parallel threads, or take all available processors if the running host contains more than 10 processors.
        int parallelism = Math.max(10, Runtime.getRuntime().availableProcessors());
        final ConfigurationAdmin ca = getConfigurationAdmin();
        final ExecutorService executor = Executors.newFixedThreadPool(parallelism);
        try
View Full Code Here

Examples of org.apache.flink.client.CliFrontend.info()

  @Test
  public void testShowDescription() {
    try {
      String[] parameters = {"-d", CliFrontendTestUtils.getTestJarPath()};
      CliFrontend testFrontend = new CliFrontend();
      int retCode = testFrontend.info(parameters);
      assertTrue(retCode == 0);
    }
    catch (Exception e) {
      System.err.println(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.apache.hadoop.metrics2.lib.MetricsSourceBuilder.info()

  @Override public synchronized <T>
  T register(String name, String desc, T source) {
    MetricsSourceBuilder sb = MetricsAnnotations.newSourceBuilder(source);
    final MetricsSource s = sb.build();
    MetricsInfo si = sb.info();
    String name2 = name == null ? si.name() : name;
    final String finalDesc = desc == null ? si.description() : desc;
    final String finalName = // be friendly to non-metrics tests
        DefaultMetricsSystem.sourceName(name2, !monitoring);
    allSources.put(finalName, s);
View Full Code Here

Examples of org.apache.james.jspf.core.Logger.info()

        if (log == null) {
                log = new ConsoleLogger();
        }

        Logger testLogger = log.getChildLogger("test");
        testLogger.info("TESTING "+next+": "+currentTest.get("description"));
   
        if (parser == null) {
            /* PREVIOUS SLOW WAY
            enabledServices = new WiringServiceTable();
            enabledServices.put(LogEnabled.class, log);
View Full Code Here

Examples of org.apache.jetspeed.logger.JetspeedLogger.info()

            {
                throw new ServletException(JCS + " Initialization of PortletApplication at "+contextName+" without access to its real path not supported");
            }
           
            JetspeedLogger jsLogger = JetspeedLoggerUtil.getSharedLogger(getClass());
            jsLogger.info(INIT_START_MSG + contextName);
            context.log(INIT_START_MSG + contextName);           
            System.out.println(INIT_START_MSG + contextName);           

            try
            {               
View Full Code Here

Examples of org.apache.juli.logging.Log.info()

        throws IOException, ServletException {

        Log log = container.getLogger();
       
        // Log pre-service information
        log.info("REQUEST URI       =" + request.getRequestURI());
        log.info("          authType=" + request.getAuthType());
        log.info(" characterEncoding=" + request.getCharacterEncoding());
        log.info("     contentLength=" + request.getContentLength());
        log.info("       contentType=" + request.getContentType());
        log.info("       contextPath=" + request.getContextPath());
View Full Code Here

Examples of org.apache.log.Logger.info()

    protected void test()
    {
        Logger log1 = m_lkm.getLogger( "cocoon" );
        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
View Full Code Here

Examples of org.apache.log4j.Category.info()

    log4jLogger.warn("msg" +(n++));
    log4jLogger.error("msg" +(n++));
    log4jLogger.fatal("msg" +(n++));
   
    log4jCategory.debug("msg" +(n++));
    log4jCategory.info("msg" +(n++));
    log4jCategory.warn("msg" +(n++));
    log4jCategory.error("msg" +(n++));
    log4jCategory.fatal("msg" +(n++));
    assertEquals(n, listHandler.list.size());
View Full Code Here

Examples of org.apache.log4j.Logger.info()

    int n = 0;

    log4jLogger.trace("msg" +(n++));
    log4jLogger.debug("msg" +(n++));
    log4jLogger.info("msg" +(n++));
    log4jLogger.warn("msg" +(n++));
    log4jLogger.error("msg" +(n++));
    log4jLogger.fatal("msg" +(n++));
   
    log4jCategory.debug("msg" +(n++));
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.