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

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

log tweak

parent 90c2e084
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,8 @@ public class DecayingHashSet extends DecayingBloomFilter { ...@@ -79,8 +79,8 @@ public class DecayingHashSet extends DecayingBloomFilter {
throw new IllegalArgumentException("Bad size"); throw new IllegalArgumentException("Bad size");
_current = new ConcurrentHashSet(128); _current = new ConcurrentHashSet(128);
_previous = new ConcurrentHashSet(128); _previous = new ConcurrentHashSet(128);
if (_log.shouldLog(Log.WARN)) if (_log.shouldLog(Log.DEBUG))
_log.warn("New DHS " + name + " entryBytes = " + entryBytes + _log.debug("New DHS " + name + " entryBytes = " + entryBytes +
" cycle (s) = " + (durationMs / 1000)); " cycle (s) = " + (durationMs / 1000));
// try to get a handle on memory usage vs. false positives // try to get a handle on memory usage vs. false positives
context.statManager().createRateStat("router.decayingHashSet." + name + ".size", context.statManager().createRateStat("router.decayingHashSet." + name + ".size",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment