Package org.exoplatform.services.log

Examples of org.exoplatform.services.log.Log.info()


   {

      PortalContainer.getInstance();
      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("Log4j Container Tests");
      log.info("Log4j Container {}", "Tests");
      log.info("Log4j Conta{} Te{}", "iner", "sts");
      log.info("Log4j Container Tests", 1, 2, 3);
      logOut(log);
View Full Code Here


      PortalContainer.getInstance();
      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("Log4j Container Tests");
      log.info("Log4j Container {}", "Tests");
      log.info("Log4j Conta{} Te{}", "iner", "sts");
      log.info("Log4j Container Tests", 1, 2, 3);
      logOut(log);

   }
View Full Code Here

      PortalContainer.getInstance();
      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("Log4j Container Tests");
      log.info("Log4j Container {}", "Tests");
      log.info("Log4j Conta{} Te{}", "iner", "sts");
      log.info("Log4j Container Tests", 1, 2, 3);
      logOut(log);

   }
View Full Code Here

      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("Log4j Container Tests");
      log.info("Log4j Container {}", "Tests");
      log.info("Log4j Conta{} Te{}", "iner", "sts");
      log.info("Log4j Container Tests", 1, 2, 3);
      logOut(log);

   }

   /**
 
View Full Code Here

      props.put("java.util.logging.FileHandler.formatter", "java.util.logging.SimpleFormatter");

      new LogConfigurationInitializer(logger, confClass, props);
      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("JCL Tests");
      logOut(log);

   }

   /**
 
View Full Code Here

   {

      PortalContainer.getInstance();
      Log log = ExoLogger.getLogger(TestLoggers.class);

      log.info("JCL Container Tests");
      logOut(log);

   }

   private void logOut(Log log)
View Full Code Here

   }

   public void testMultiThread() throws Exception
   {
      Log log = ExoLogger.getLogger("exo.jcr.framework.command.MultiThreadFtpTest");
      log.info("Test...");

      ArrayList<FtpThreadTest> testers = new ArrayList<FtpThreadTest>();

      for (int i = 0; i < CLIENTS_COUNT; i++)
      {
View Full Code Here

            Thread.sleep(100);
         }
      }
      catch (Exception exc)
      {
         log.info("Unhandled ecxeption. " + exc.getMessage(), exc);
      }

      log.info("Complete.");
   }
View Full Code Here

      catch (Exception exc)
      {
         log.info("Unhandled ecxeption. " + exc.getMessage(), exc);
      }

      log.info("Complete.");
   }

}
View Full Code Here

   }

   public void testNOOP() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_NOOP);
      log.info("Test...");

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();

      assertEquals(FtpConst.Replyes.REPLY_200, client.executeCommand(new CmdNoop()));
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.