* JobImpl: Deprecate getAddedBy() and addedToQueue()

to reduce LogManager records
This commit is contained in:
zzz
2010-10-19 14:33:11 +00:00
parent 1400c4d4d0
commit 8c7a39f00a
6 changed files with 20 additions and 9 deletions

View File

@ -81,7 +81,7 @@ public class SendGarlicJob extends JobImpl {
long after = getContext().clock().now();
if ( (after - before) > 1000) {
if (_log.shouldLog(Log.WARN))
_log.warn("Building the garlic took too long [" + (after-before)+" ms]", getAddedBy());
_log.warn("Building the garlic took too long [" + (after-before)+" ms]");
} else {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Building the garlic was fast! " + (after - before) + " ms");