Changeset 75eda7e


Ignore:
Timestamp:
Mar 1, 2012 11:52:56 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0cdff150
Parents:
33964fac
Message:

log tweak

File:
1 edited

Legend:

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

    r33964fac r75eda7e  
    162162            //}
    163163            if (locked_tooManyStreams()) {
    164                 if (_log.shouldLog(Log.WARN))
    165                     _log.warn("Refusing connection since we have exceeded our max of "
     164                _log.logAlways(Log.WARN, "Refusing connection since we have exceeded our max of "
    166165                              + _maxConcurrentStreams + " connections");
    167166                reject = true;
     
    234233            long remaining = expiration - _context.clock().now();
    235234            if (remaining <= 0) {
    236                 if (_log.shouldLog(Log.WARN))
    237                 _log.warn("Refusing to connect since we have exceeded our max of "
     235                _log.logAlways(Log.WARN, "Refusing to connect since we have exceeded our max of "
    238236                          + _maxConcurrentStreams + " connections");
    239237                _numWaiting--;
     
    244242                    // allow a full buffer of pending/waiting streams
    245243                    if (_numWaiting > _maxConcurrentStreams) {
    246                         if (_log.shouldLog(Log.WARN))
    247                             _log.warn("Refusing connection since we have exceeded our max of "
     244                        _log.logAlways(Log.WARN, "Refusing connection since we have exceeded our max of "
    248245                                      + _maxConcurrentStreams + " and there are " + _numWaiting
    249246                                      + " waiting already");
Note: See TracChangeset for help on using the changeset viewer.