Package org.jboss.logging

Examples of org.jboss.logging.Logger.info()


      try
      {
         InitialContext localCtx = new InitialContext();
         Hashtable localEnv = localCtx.getEnvironment();

         tmsLog.info("Checking removed hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, removed);
         tmsLog.info("Checking added hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, added);
         tmsLog.info("Checking members hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, members);
View Full Code Here


         InitialContext localCtx = new InitialContext();
         Hashtable localEnv = localCtx.getEnvironment();

         tmsLog.info("Checking removed hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, removed);
         tmsLog.info("Checking added hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, added);
         tmsLog.info("Checking members hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, members);
      }
      catch (NamingException e)
View Full Code Here

         tmsLog.info("Checking removed hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, removed);
         tmsLog.info("Checking added hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, added);
         tmsLog.info("Checking members hosts JNDI binding");
         this.doLookups(localEnv, tmsLog, members);
      }
      catch (NamingException e)
      {
         tmsLog.error("Failed to obtain InitialContext env", e);
View Full Code Here

            logger.debug(msg, th);
         }
         else if (level == Level.INFO || level == Level.CONFIG || level == Level.ALL)
         {
            String msg = getMessage(record);
            logger.info(msg, th);
         }
         else if (level == Level.WARNING)
         {
            String msg = getMessage(record);
            logger.warn(msg, th);
View Full Code Here

               }
              
               synchronized(lock)
               {
                  iter--;
                  log.info("Only "+iter+" left");
                  lock.notifyAll();
               }
            }
         }).start();
      }
View Full Code Here

      public void run()
      {
         Thread t = Thread.currentThread();
         Logger log = Logger.getLogger(t.getName());
         log.info("Begin run, t=" + t);
         try
         {
            AppCallbackHandler handler = new AppCallbackHandler(EJBSpecUnitTestCase.username,
                  EJBSpecUnitTestCase.password);
            for (int i = 0; i < iterations; i++)
View Full Code Here

         catch (Throwable e)
         {
            error = e;
            log.error("Security failure", e);
         }
         log.info("End run, t=" + Thread.currentThread());
      }
   }

   /**
    * Login as user scott using the conf.name login config or 'spec-test' if conf.name is not defined.
View Full Code Here

    * of the AttributePersistenceService / XMLAttributePersistenceManager.
    */
   public void testPersistCustomMBeanAttributes() throws Exception
   {
      Logger log = getLog();
      log.info("+++ testPersistCustomMBeanAttributes");
     
      String testService = "xmbean-custom-attr-pers.sar";
      String customMBean = "jboss.test:service=ServiceUsingCustomAttribute";
     
      MBeanServerConnection server = super.getServer();
View Full Code Here

    * @see org.jboss.test.jmx.xmbean.XMLAttributePersistenceManagerTestService
    */
   public void testWriteToPathNameContainingSpaces() throws Exception
   {
      Logger log = getLog();
      log.info("+++ testWriteToPathNameContainingSpaces");

      String testService = "xmlapm-xmbean.sar";
     
      try
      {
View Full Code Here

    @Test
    public void testInfo() {
        Logger mock =
            createStrictMock(Logger.class);

        mock.info("a");
        replay(mock);

        InternalLogger logger = new JBossLogger(mock);
        logger.info("a");
        verify(mock);
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.