Project

General

Profile

« Previous | Next » 

Revision 4437

Added by daigle about 16 years ago

Change some info log statements to debug

View differences:

src/edu/ucsb/nceas/metacat/DBConnectionPool.java
133 133
    if (instance == null) {
134 134
      instance = new DBConnectionPool();
135 135
      Logger log = Logger.getLogger(DBConnectionPool.class);
136
      log.info("MaximumConnectionNumber: "+MAXIMUMCONNECTIONNUMBER);
137
      log.info("Intial connection number: "+INITIALCONNECTIONNUMBER);
138
      log.info("Increated connection Number: "+INCREASECONNECTIONNUMBER);
139
      log.info("Maximum connection age: "+MAXIMUMAGE);
140
      log.info("Maximum connection time: "+MAXIMUMCONNECTIONTIME);
141
      log.info("Maximum usage count: "+MAXIMUMUSAGENUMBER);
142
      log.info("Running recycle thread or not: "+DBCONNECTIONRECYCLETHREAD);
143
      log.info("Cycle time of recycle: "+CYCLETIMEOFDBCONNECTION); 
136
      log.debug("MaximumConnectionNumber: "+MAXIMUMCONNECTIONNUMBER);
137
      log.debug("Intial connection number: "+INITIALCONNECTIONNUMBER);
138
      log.debug("Increated connection Number: "+INCREASECONNECTIONNUMBER);
139
      log.debug("Maximum connection age: "+MAXIMUMAGE);
140
      log.debug("Maximum connection time: "+MAXIMUMCONNECTIONTIME);
141
      log.debug("Maximum usage count: "+MAXIMUMUSAGENUMBER);
142
      log.debug("Running recycle thread or not: "+DBCONNECTIONRECYCLETHREAD);
143
      log.debug("Cycle time of recycle: "+CYCLETIMEOFDBCONNECTION); 
144 144
    }
145 145
    return instance;
146 146
  }
......
685 685
    	 logMetacat.warn(difference + " connection(s) " +
686 686
                        "being used and connection pool size is " +connectionPoolSize);
687 687
     } else {
688
    	 logMetacat.info("Connection pool size: " +connectionPoolSize);
689
    	 logMetacat.info("Free Connection number: "+freeConnectionSize);
688
    	 logMetacat.debug("Connection pool size: " +connectionPoolSize);
689
    	 logMetacat.debug("Free Connection number: "+freeConnectionSize);
690 690
     }
691 691
     
692 692
     //If all connections are free and connection pool size greater than 
......
753 753
         logMetacat.warn(difference + " connection(s) " +
754 754
                        "being used and connection pool size is " +connectionPoolSize);
755 755
     } else {
756
         logMetacat.info("Connection pool size: " +connectionPoolSize);
757
         logMetacat.info("Free Connection number: "+freeConnectionSize);
756
         logMetacat.debug("Connection pool size: " +connectionPoolSize);
757
         logMetacat.debug("Free Connection number: "+freeConnectionSize);
758 758
     }
759 759
     
760 760
     //If all connections are free and connection pool size greater than 

Also available in: Unified diff