forked from I2P_Developers/i2p.i2p
shutdown hook logging
This commit is contained in:
@@ -616,6 +616,8 @@ public class Router {
|
||||
public void rebuildNewIdentity() {
|
||||
killKeys();
|
||||
for (Runnable task : _context.getShutdownTasks()) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Running shutdown task " + task.getClass());
|
||||
try {
|
||||
task.run();
|
||||
} catch (Throwable t) {
|
||||
|
||||
Reference in New Issue
Block a user