This commit is contained in:
jrandom
2004-05-07 03:29:06 +00:00
committed by zzz
parent 89bc5db3e1
commit 2df0007a10
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class PersistenceHelper {
_log.error("Error formatting " + val + " into a long", nfe); _log.error("Error formatting " + val + " into a long", nfe);
} }
} else { } else {
_log.error("Key " + prefix + name + " does not exist"); _log.warn("Key " + prefix + name + " does not exist");
} }
return 0; return 0;
} }

View File

@ -153,9 +153,9 @@ public class JobQueue {
_context.statManager().addRateData("jobQueue.readyJobs", numReady, 0); _context.statManager().addRateData("jobQueue.readyJobs", numReady, 0);
if (shouldDrop(job, numReady)) { if (shouldDrop(job, numReady)) {
if (_log.shouldLog(Log.ERROR)) if (_log.shouldLog(Log.WARN))
_log.error("Dropping job due to overload! # ready jobs: " _log.warn("Dropping job due to overload! # ready jobs: "
+ numReady + ": job = " + job); + numReady + ": job = " + job);
job.dropped(); job.dropped();
_context.statManager().addRateData("jobQueue.droppedJobs", 1, 1); _context.statManager().addRateData("jobQueue.droppedJobs", 1, 1);
awaken(1); awaken(1);