forked from I2P_Developers/i2p.i2p
log tweak
This commit is contained in:
@@ -323,7 +323,7 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
|
|||||||
t = r.checker.check(type, r.method, id, current, maxWait);
|
t = r.checker.check(type, r.method, id, current, maxWait);
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (_log.shouldLog(Log.INFO))
|
if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Starting " + r);
|
_log.info("Starting " + r, new Exception());
|
||||||
_activeCheckers.add(t);
|
_activeCheckers.add(t);
|
||||||
t.start();
|
t.start();
|
||||||
}
|
}
|
||||||
@@ -366,7 +366,7 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
|
|||||||
UpdateTask t = r.checker.check(type, r.method, id, current, DEFAULT_CHECK_TIME);
|
UpdateTask t = r.checker.check(type, r.method, id, current, DEFAULT_CHECK_TIME);
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (_log.shouldLog(Log.INFO))
|
if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Starting " + r);
|
_log.info("Starting " + r, new Exception());
|
||||||
_activeCheckers.add(t);
|
_activeCheckers.add(t);
|
||||||
t.start();
|
t.start();
|
||||||
break;
|
break;
|
||||||
@@ -670,7 +670,7 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
|
|||||||
// race window here
|
// race window here
|
||||||
// store the remaining ones for retrying
|
// store the remaining ones for retrying
|
||||||
if (_log.shouldLog(Log.INFO))
|
if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Starting " + r);
|
_log.info("Starting " + r, new Exception());
|
||||||
_downloaders.put(t, toTry);
|
_downloaders.put(t, toTry);
|
||||||
t.start();
|
t.start();
|
||||||
return t;
|
return t;
|
||||||
|
Reference in New Issue
Block a user