I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit db25eff7 authored by zzz's avatar zzz
Browse files

log tweak

parent c927441d
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,8 @@ public class JobQueue {
_context.statManager().addRateData("jobQueue.readyJobs", numReady);
if (dropped) {
_context.statManager().addRateData("jobQueue.droppedJobs", 1);
_log.logAlways(Log.WARN, "Dropping job due to overload! # ready jobs: "
if (_log.shouldLog(Log.WARN))
_log.warn("Dropping job due to overload! # ready jobs: "
+ numReady + ": job = " + job);
String key = job.getName();
JobStats stats = _jobStats.get(key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment