billbarker 2004/05/27 19:49:35 Modified: util/java/org/apache/tomcat/util/threads ThreadPool.java Log: Change logging message to DEBUG level. Revision Changes Path 1.26 +3 -2 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java Index: ThreadPool.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ThreadPool.java 27 May 2004 16:12:54 -0000 1.25 +++ ThreadPool.java 28 May 2004 02:49:35 -0000 1.26 @@ -165,8 +165,9 @@ * more than Thread.MAX_PRIORITY */ public synchronized void setThreadPriority(int threadPriority) { - System.out.println(getClass().getName() + - ": setPriority(" + threadPriority + "): here."); + if(log.isDebugEnabled()) + log.debug(getClass().getName() + + ": setPriority(" + threadPriority + "): here."); if (threadPriority < Thread.MIN_PRIORITY) { throw new IllegalArgumentException("new priority < MIN_PRIORITY");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]