Changeset 8d9e2bd for apps/streaming


Ignore:
Timestamp:
Apr 26, 2015 5:46:48 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f243968
Parents:
6dbbb6b
Message:

log tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionPacketHandler.java

    r6dbbb6b r8d9e2bd  
    200200                final long nextSendTime = lastSendTime + Math.min(ackDelay, con.getOptions().getRTT() / 2);
    201201                if (nextSendTime <= now) {
    202                     if (_log.shouldLog(Log.DEBUG))
    203                         _log.debug("immediate ack");
     202                    if (_log.shouldLog(Log.INFO))
     203                        _log.info("immediate ack");
    204204                    con.ackImmediately();
    205205                    _context.statManager().updateFrequency("stream.ack.dup.immediate");
    206206                } else {
    207207                    final long delay = nextSendTime - now;
    208                     if (_log.shouldLog(Log.DEBUG))
    209                         _log.debug("scheduling ack in " + delay);
     208                    if (_log.shouldLog(Log.INFO))
     209                        _log.info("scheduling ack in " + delay);
    210210                    _context.simpleTimer2().addEvent(new AckDup(con), delay);
    211211                }
     
    438438            con.setCongestionWindowEnd(newWindowSize + lowest);
    439439                               
    440             if (_log.shouldLog(Log.DEBUG))
    441                 _log.debug("New window size " + newWindowSize + "/" + oldWindow + "/" + con.getOptions().getWindowSize() + " congestionSeenAt: "
     440            if (_log.shouldLog(Log.INFO))
     441                _log.info("New window size " + newWindowSize + "/" + oldWindow + "/" + con.getOptions().getWindowSize() + " congestionSeenAt: "
    442442                           + con.getLastCongestionSeenAt() + " (#resends: " + numResends
    443443                           + ") for " + con);
Note: See TracChangeset for help on using the changeset viewer.