log tweak

This commit is contained in:
zzz
2011-12-11 13:54:03 +00:00
parent 60e25b98b7
commit b47deadc97

View File

@ -251,8 +251,8 @@ class PersistentDataStore extends TransientDataStore {
if (count == 0) {
if (lastCount > 0) {
long time = _context.clock().now() - startTime;
if (_log.shouldLog(Log.WARN))
_log.warn("Wrote " + lastCount + " entries to disk in " + time);
if (_log.shouldLog(Log.INFO))
_log.info("Wrote " + lastCount + " entries to disk in " + time);
_context.statManager().addRateData("netDb.writeOut", lastCount, 0);
_context.statManager().addRateData("netDb.writeTime", time, 0);
}