misc. log tweaks

This commit is contained in:
zzz
2011-12-17 14:04:57 +00:00
parent 48841481f0
commit 18b8ddc419
8 changed files with 29 additions and 12 deletions

View File

@@ -235,7 +235,7 @@ public class SimpleTimer2 {
if (_log.shouldLog(Log.WARN) && delay > 100)
_log.warn(_pool + " wtf, early execution " + delay + ": " + this);
else if (_log.shouldLog(Log.WARN) && delay < -1000)
_log.warn(" wtf, late execution " + delay + ": " + this + _pool.debug());
_log.warn(" wtf, late execution " + (0 - delay) + ": " + this + _pool.debug());
try {
timeReached();
} catch (Throwable t) {