Changeset abcdcf2


Ignore:
Timestamp:
Oct 16, 2014 8:38:12 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
4d4308c
Parents:
44b753d
Message:

log tweaks (SSU)

Location:
router/java/src/net/i2p/router/transport/udp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/udp/EstablishmentManager.java

    r44b753d rabcdcf2  
    958958                _outboundStates.remove(oldId);
    959959                _outboundStates.put(newId, state);
    960                 if (_log.shouldLog(Log.WARN))
    961                     _log.warn("RR replaced " + oldId + " with " + newId + ", claimed address was " + claimed);
     960                if (_log.shouldLog(Log.INFO))
     961                    _log.info("RR replaced " + oldId + " with " + newId + ", claimed address was " + claimed);
    962962            }
    963963            //
     
    980980            boolean sendNow = state.receiveHolePunch();
    981981            if (sendNow) {
    982                 if (_log.shouldLog(Log.WARN))
    983                     _log.warn("Hole punch from " + state + ", sending SessionRequest now");
     982                if (_log.shouldLog(Log.INFO))
     983                    _log.info("Hole punch from " + state + ", sending SessionRequest now");
    984984                notifyActivity();
    985985            } else {
    986                 if (_log.shouldLog(Log.WARN))
    987                     _log.warn("Hole punch from " + state + ", already sent SessionRequest");
     986                if (_log.shouldLog(Log.INFO))
     987                    _log.info("Hole punch from " + state + ", already sent SessionRequest");
    988988            }
    989989        } else {
    990990            // HolePunch received before RelayResponse, and we didn't know the IP/port, or it changed
    991             if (_log.shouldLog(Log.WARN))
    992                 _log.warn("No state found for hole punch from " + from + " port " + fromPort);
     991            if (_log.shouldLog(Log.INFO))
     992                _log.info("No state found for hole punch from " + from + " port " + fromPort);
    993993        }
    994994    }
  • router/java/src/net/i2p/router/transport/udp/OutboundEstablishState.java

    r44b753d rabcdcf2  
    619619            return false;
    620620        long now = _context.clock().now();
    621         if (_log.shouldLog(Log.WARN))
    622             _log.warn(toString() + " accelerating SessionRequest by " + (_nextSend - now) + " ms");
     621        if (_log.shouldLog(Log.INFO))
     622            _log.info(toString() + " accelerating SessionRequest by " + (_nextSend - now) + " ms");
    623623        _nextSend = now;
    624624        return true;
Note: See TracChangeset for help on using the changeset viewer.