add reseed to event log

This commit is contained in:
zzz
2012-11-16 15:33:38 +00:00
parent ae6dad6e48
commit 99179edae2
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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";