Changeset 1470ea2 for router


Ignore:
Timestamp:
Jul 21, 2018 1:27:28 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
03e10835
Parents:
292b7e6d
Message:

reduce more log levels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/ntcp/NTCPConnection.java

    r292b7e6d r1470ea2  
    478478            return;
    479479        }
    480         if (_version == 2) {
    481             // for debugging
    482             if (_log.shouldWarn())
    483                 _log.warn("Closing connection " + toString(), new Exception("cause"));
    484         } else if (_log.shouldLog(Log.INFO)) {
     480        if (_log.shouldLog(Log.INFO)) {
    485481            _log.info("Closing connection " + toString(), new Exception("cause"));
    486482        }
     
    17851781        if (hisPadding != null) {
    17861782            _paddingConfig = OUR_PADDING.merge(hisPadding);
    1787             if (_log.shouldWarn())
    1788                 _log.warn("Got padding options:" +
     1783            if (_log.shouldDebug())
     1784                _log.debug("Got padding options:" +
    17891785                          "\nhis padding options: " + hisPadding +
    17901786                          "\nour padding options: " + OUR_PADDING +
Note: See TracChangeset for help on using the changeset viewer.