Author: mickw
Date: 2006-05-02 12:50:55 +0200 (Tue, 02 May 2006)
New Revision: 2841
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/executor/ThreadPoolInspector.java
Log:
tidy up on logging
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/executor/ThreadPoolInspector.java
===================================================================
---
trunk/src/java/no/schibstedsok/front/searchportal/executor/ThreadPoolInspector.java
2006-05-02 10:07:26 UTC (rev 2840)
+++
trunk/src/java/no/schibstedsok/front/searchportal/executor/ThreadPoolInspector.java
2006-05-02 10:50:55 UTC (rev 2841)
@@ -26,10 +26,10 @@
private static final Log LOG =
LogFactory.getLog(ThreadPoolInspector.class);
public void run() {
- LOG.info("Thread pool size: " + threadPool.getPoolSize());
- LOG.info("Largest size: " + threadPool.getLargestPoolSize());
+ LOG.info("Thread pool size: " + threadPool.getPoolSize()
+ + "; Largest size: " + threadPool.getLargestPoolSize());
LOG.info("Active threads: " + threadPool.getActiveCount());
- LOG.info("Approx. task count: " + threadPool.getTaskCount());
- LOG.info("Completed count: " + threadPool.getCompletedTaskCount());
+ LOG.info("Approx. task count: " + threadPool.getTaskCount()
+ + "; Completed count: " + threadPool.getCompletedTaskCount());
}
}
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits