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

  Modified:    src/main/org/jboss/mq/il/oil OILServerILService.java
  Log:
  Convert all logging to org.jboss.logging.Logger which is a subclass of
  org.apache.log4j.Category.
  
  Revision  Changes    Path
  1.5       +9 -9      jbossmq/src/main/org/jboss/mq/il/oil/OILServerILService.java
  
  Index: OILServerILService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/oil/OILServerILService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- OILServerILService.java   2001/09/01 03:00:59     1.4
  +++ OILServerILService.java   2001/09/11 18:38:18     1.5
  @@ -45,7 +45,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 OILServerILService extends org.jboss.mq.il.ServerILJMXService 
implements Runnable, OILServerILServiceMBean
   {
  @@ -129,7 +129,7 @@
         serverSocket = new ServerSocket(serverBindPort);
         serverSocket.setSoTimeout(SO_TIMEOUT);
   
  -      category.info("JBossMQ OIL service available at : " + 
InetAddress.getLocalHost().getHostAddress() + ":" + serverSocket.getLocalPort());
  +      log.info("JBossMQ OIL service available at : " + 
InetAddress.getLocalHost().getHostAddress() + ":" + serverSocket.getLocalPort());
         worker = new Thread(server.threadGroup, this, "OIL Worker");
         worker.start();
   
  @@ -196,7 +196,7 @@
         }
         catch (IOException e)
         {
  -         category.warn("Could not initialize the OILServerIL Service.", e);
  +         log.warn("Could not initialize the OILServerIL Service.", e);
            running = false;
            return;
         }
  @@ -218,7 +218,7 @@
               {
                  break;
               }
  -            category.warn("Connection failure (1).", e);
  +            log.warn("Connection failure (1).", e);
               break;
            }
   
  @@ -231,7 +231,7 @@
               {
                  case m_setSpyDistributedConnection:
                     connectionToken = (ConnectionToken)in.readObject();
  -                  category.debug("The OILClientIL Connection is set up");
  +                  log.debug("The OILClientIL Connection is set up");
                     break;
                  case m_acknowledge:
                     AcknowledgementRequest ack = new AcknowledgementRequest();
  @@ -319,7 +319,7 @@
                     break;
                  }
   
  -               category.warn("Connection failure (2).", e);
  +               log.warn("Connection failure (2).", e);
                  break;
               }
   
  @@ -331,7 +331,7 @@
                  break;
               }
   
  -            category.info("Client request resulted in a server exception: ", e);
  +            log.info("Client request resulted in a server exception: ", e);
   
               try
               {
  @@ -347,7 +347,7 @@
                     break;
                  }
   
  -               category.warn("Connection failure (3).", e);
  +               log.warn("Connection failure (3).", e);
                  break;
               }
            }
  @@ -369,7 +369,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