Changeset ac902ba


Ignore:
Timestamp:
Mar 28, 2015 10:47:10 AM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
349255d2
Parents:
f3d573c
Message:

log tweak to hide i2pd badness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java

    rf3d573c rac902ba  
    662662            // A-B-C-A is not preventable
    663663            if (nextPeer.equals(from)) {
     664                // i2pd does this
    664665                _context.statManager().addRateData("tunnel.rejectHostile", 1);
    665                 _log.error("Dropping build request with the same previous and next hop");
     666                if (_log.shouldLog(Log.WARN))
     667                    _log.warn("Dropping build request with the same previous and next hop");
    666668                return;
    667669            }
Note: See TracChangeset for help on using the changeset viewer.