User: user57  
  Date: 02/02/07 17:06:19

  Modified:    src/main/org/jboss/mq/il/oil OILClientIL.java
  Log:
   o logging changes (mostly info -> debug), some fixes for showing
     exception traces
   o minor formatting changes (so that really long lines fit into 79
     cols)
  
  Revision  Changes    Path
  1.7       +7 -3      jbossmq/src/main/org/jboss/mq/il/oil/OILClientIL.java
  
  Index: OILClientIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/oil/OILClientIL.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OILClientIL.java  11 Jan 2002 20:18:57 -0000      1.6
  +++ OILClientIL.java  8 Feb 2002 01:06:19 -0000       1.7
  @@ -31,7 +31,7 @@
    *
    * @author    Norbert Lataille ([EMAIL PROTECTED])
    * @author    Hiram Chirino ([EMAIL PROTECTED])
  - * @version   $Revision: 1.6 $
  + * @version   $Revision: 1.7 $
    * @created   August 16, 2001
    */
   public final class OILClientIL
  @@ -158,7 +158,11 @@
      {
         try
         {
  -         log.info("ConnectionReceiverOILClient is connecting to: " + 
addr.getHostAddress() + ":" + port);
  +      if (log.isDebugEnabled()) {
  +         log.debug("ConnectionReceiverOILClient is connecting to: " + 
  +                   addr.getHostAddress() + ":" + port);
  +      }
  +
            socket = new Socket(addr, port);
            out = new ObjectOutputStream(new 
BufferedOutputStream(socket.getOutputStream()));
            out.flush();
  @@ -166,7 +170,7 @@
         }
         catch (Exception e)
         {
  -         log.debug("Cannot connect to the ConnectionReceiver/Server", e);
  +         log.error("Cannot connect to the ConnectionReceiver/Server", e);
            throw new RemoteException("Cannot connect to the 
ConnectionReceiver/Server");
         }
      }
  
  
  

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

Reply via email to