forked from I2P_Developers/i2p.i2p
add reseed to event log
This commit is contained in:
@@ -22,6 +22,7 @@ import net.i2p.data.DataHelper;
|
||||
import net.i2p.data.Hash;
|
||||
import net.i2p.router.RouterClock;
|
||||
import net.i2p.router.RouterContext;
|
||||
import net.i2p.router.util.EventLog;
|
||||
import net.i2p.router.util.RFC822Date;
|
||||
import net.i2p.util.EepGet;
|
||||
import net.i2p.util.I2PAppThread;
|
||||
@@ -172,6 +173,7 @@ public class Reseeder {
|
||||
}
|
||||
_isRunning = false;
|
||||
_checker.setStatus("");
|
||||
_context.router().eventLog().addEvent(EventLog.RESEED, Integer.toString(total));
|
||||
}
|
||||
|
||||
// EepGet status listeners
|
||||
|
@@ -43,6 +43,7 @@ public class EventLog {
|
||||
public static final String NEW_IDENT = "newIdent";
|
||||
public static final String OOM = "oom";
|
||||
public static final String REKEYED = "rekeyed";
|
||||
public static final String RESEED = "reseed";
|
||||
public static final String SOFT_RESTART = "softRestart";
|
||||
public static final String STARTED = "started";
|
||||
public static final String STOPPED = "stopped";
|
||||
|
Reference in New Issue
Block a user