Changeset 2bc70b5


Ignore:
Timestamp:
Feb 29, 2012 1:45:02 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
48551f06
Parents:
ede1b19
Message:

debug log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/networkdb/reseed/ReseedChecker.java

    rede1b19 r2bc70b5  
    3333        File noReseedFileAlt2 = new File(context.getConfigDir(), ".i2pnoreseed");
    3434        File noReseedFileAlt3 = new File(context.getConfigDir(), "noreseed.i2p");
     35        Log _log = context.logManager().getLog(ReseedChecker.class);
    3536        if (!noReseedFile.exists() && !noReseedFileAlt1.exists() && !noReseedFileAlt2.exists() && !noReseedFileAlt3.exists()) {
    36             Log _log = context.logManager().getLog(ReseedChecker.class);
    3737            if (count <= 1)
    3838                _log.logAlways(Log.INFO, "Downloading peer router information for a new I2P installation");
     
    4141            Reseeder reseeder = new Reseeder(context);
    4242            reseeder.requestReseed();
     43        } else {
     44            _log.logAlways(Log.WARN, "Only " + count + " peers remaining but reseed disabled by config file");
    4345        }
    4446    }
Note: See TracChangeset for help on using the changeset viewer.