User: starksm 
  Date: 01/09/11 11:38:18

  Modified:    src/main/org/jboss/mq/il/uil UILServerILService.java
  Log:
  Convert all logging to org.jboss.logging.Logger which is a subclass of
  org.apache.log4j.Category.
  
  Revision  Changes    Path
  1.5       +10 -10    jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java
  
  Index: UILServerILService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- UILServerILService.java   2001/09/01 03:00:59     1.4
  +++ UILServerILService.java   2001/09/11 18:38:18     1.5
  @@ -44,7 +44,7 @@
    *  Implements the ServerILJMXService which is used to manage the JVM IL.
    *
    * @author     Hiram Chirino ([EMAIL PROTECTED])
  - * @version    $Revision: 1.4 $
  + * @version    $Revision: 1.5 $
    */
   public class UILServerILService extends org.jboss.mq.il.ServerILJMXService 
implements Runnable, UILServerILServiceMBean
   {
  @@ -129,7 +129,7 @@
         serverSocket = new ServerSocket(serverBindPort);
         serverSocket.setSoTimeout(SO_TIMEOUT);
   
  -      category.info("JBossMQ UIL service available at : " + 
InetAddress.getLocalHost().getHostAddress() + ":" + serverSocket.getLocalPort());
  +      log.info("JBossMQ UIL service available at : " + 
InetAddress.getLocalHost().getHostAddress() + ":" + serverSocket.getLocalPort());
         worker = new Thread(server.threadGroup, this, "UIL Worker");
         worker.start();
   
  @@ -200,7 +200,7 @@
         }
         catch (IOException e)
         {
  -         category.warn("Could not initialize the UILServerIL Service.", e);
  +         log.warn("Could not initialize the UILServerIL Service.", e);
            running = false;
            return;
         }
  @@ -223,7 +223,7 @@
                  break;
               }
   
  -            category.warn("Connection failure (1).", e);
  +            log.warn("Connection failure (1).", e);
               break;
            }
   
  @@ -235,11 +235,11 @@
               switch (code)
               {
                  case m_setSpyDistributedConnection:
  -                  category.debug("Setting up the UILClientIL Connection");
  +                  log.debug("Setting up the UILClientIL Connection");
                     connectionToken = (ConnectionToken)in.readObject();
                     ((UILClientIL)connectionToken.clientIL).mSocket = mSocket;
                     ((UILClientIL)connectionToken.clientIL).createConnection();
  -                  category.debug("The UILClientIL Connection is set up");
  +                  log.debug("The UILClientIL Connection is set up");
                     break;
                  case m_acknowledge:
                     AcknowledgementRequest ack = new AcknowledgementRequest();
  @@ -327,7 +327,7 @@
                     break;
                  }
   
  -               category.warn("Connection failure (2).", e);
  +               log.warn("Connection failure (2).", e);
                  break;
               }
   
  @@ -339,7 +339,7 @@
                  break;
               }
   
  -            category.info("Client request resulted in a server exception: ", e);
  +            log.info("Client request resulted in a server exception: ", e);
   
               try
               {
  @@ -355,7 +355,7 @@
                     break;
                  }
   
  -               category.warn("Connection failure (3).", e);
  +               log.warn("Connection failure (3).", e);
                  break;
               }
            }
  @@ -378,7 +378,7 @@
         }
         catch (IOException e)
         {
  -         category.warn("Connection failure during connection close.", e);
  +         log.warn("Connection failure during connection close.", e);
         }
      }
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to