forked from I2P_Developers/i2p.i2p
RouterAppManager: Logging
This commit is contained in:
@@ -185,6 +185,8 @@ public class RouterAppManager implements ClientAppManager {
|
|||||||
ClientAppState state = app.getState();
|
ClientAppState state = app.getState();
|
||||||
if (state == RUNNING || state == STARTING) {
|
if (state == RUNNING || state == STARTING) {
|
||||||
try {
|
try {
|
||||||
|
if (_log.shouldWarn())
|
||||||
|
_log.warn("Shutting down client " + app.getDisplayName());
|
||||||
app.shutdown(null);
|
app.shutdown(null);
|
||||||
} catch (Throwable t) {}
|
} catch (Throwable t) {}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user