henning     2003/01/09 05:53:57

  Modified:    src/java/org/apache/torque/pool ConnectionPool.java
  Log:
  Make the monitor thread message easier to understand
  
  Revision  Changes    Path
  1.21      +6 -5      
jakarta-turbine-torque/src/java/org/apache/torque/pool/ConnectionPool.java
  
  Index: ConnectionPool.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/pool/ConnectionPool.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ConnectionPool.java       9 Jan 2003 13:52:09 -0000       1.20
  +++ ConnectionPool.java       9 Jan 2003 13:53:57 -0000       1.21
  @@ -615,10 +615,11 @@
               while (logInterval > 0 && isRun)
               {
                   buf.setLength(0);
  -                buf.append(getPoolName()).append(" (in + out = total): ")
  -                       .append(getNbrAvailable()).append(" + ")
  -                       .append(getNbrCheckedOut()).append(" = ")
  -                       .append(getTotalCount());
  +
  +                buf.append(getPoolName());
  +                buf.append(" avail: ").append(getNbrAvailable());
  +                buf.append(" in use: ").append(getNbrCheckedOut());
  +                buf.append(" total: ").append(getTotalCount());
                   category.info(buf.toString());
   
                   // Wait for a bit.
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to