dont yell so loud

This commit is contained in:
zzz
2010-03-13 16:04:32 +00:00
parent 939cdb019b
commit b80f70fc54

View File

@ -55,7 +55,8 @@ public class SchedulerChooser {
}
public void eventOccurred(Connection con) {
_log.log(Log.ERROR, "Yell at jrandom: Event occurred on " + con, new Exception("source"));
if (_log.shouldLog(Log.WARN))
_log.warn("Yell at jrandom: Event occurred on " + con, new Exception("source"));
}
public boolean accept(Connection con) { return true; }
};