include the "addedBy" if we're debugging the job, not if we're debugging JobImpl

This commit is contained in:
jrandom
2004-06-29 19:29:57 +00:00
committed by zzz
parent af81cf2c50
commit 1cd5a3fcf7

View File

@ -39,7 +39,7 @@ public abstract class JobImpl implements Job {
}
void addedToQueue() {
if (_context.logManager().getLog(JobImpl.class).shouldLog(Log.DEBUG))
if (_context.logManager().getLog(getClass()).shouldLog(Log.DEBUG))
_addedBy = new Exception();
}