forked from I2P_Developers/i2p.i2p
* Logging: Move common WARN output to DEBUG so we can ask users to
set the default log level to WARN without massive spewage
This commit is contained in:
@@ -189,8 +189,8 @@ public class Rate {
|
||||
long measuredPeriod = now - _lastCoalesceDate;
|
||||
if (measuredPeriod < _period - SLACK) {
|
||||
// no need to coalesce (assuming we only try to do so once per minute)
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("not coalescing, measuredPeriod = " + measuredPeriod + " period = " + _period);
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("not coalescing, measuredPeriod = " + measuredPeriod + " period = " + _period);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user