forked from I2P_Developers/i2p.i2p
reduce more log levels
This commit is contained in:
@ -477,11 +477,7 @@ public class NTCPConnection implements Closeable {
|
|||||||
_log.logCloseLoop("NTCPConnection", this);
|
_log.logCloseLoop("NTCPConnection", this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_version == 2) {
|
if (_log.shouldLog(Log.INFO)) {
|
||||||
// for debugging
|
|
||||||
if (_log.shouldWarn())
|
|
||||||
_log.warn("Closing connection " + toString(), new Exception("cause"));
|
|
||||||
} else if (_log.shouldLog(Log.INFO)) {
|
|
||||||
_log.info("Closing connection " + toString(), new Exception("cause"));
|
_log.info("Closing connection " + toString(), new Exception("cause"));
|
||||||
}
|
}
|
||||||
NTCPConnection toClose = locked_close(allowRequeue);
|
NTCPConnection toClose = locked_close(allowRequeue);
|
||||||
@ -1784,8 +1780,8 @@ public class NTCPConnection implements Closeable {
|
|||||||
finishEstablishment(sender, receiver, sip_ba, sip_ab, clockSkew);
|
finishEstablishment(sender, receiver, sip_ba, sip_ab, clockSkew);
|
||||||
if (hisPadding != null) {
|
if (hisPadding != null) {
|
||||||
_paddingConfig = OUR_PADDING.merge(hisPadding);
|
_paddingConfig = OUR_PADDING.merge(hisPadding);
|
||||||
if (_log.shouldWarn())
|
if (_log.shouldDebug())
|
||||||
_log.warn("Got padding options:" +
|
_log.debug("Got padding options:" +
|
||||||
"\nhis padding options: " + hisPadding +
|
"\nhis padding options: " + hisPadding +
|
||||||
"\nour padding options: " + OUR_PADDING +
|
"\nour padding options: " + OUR_PADDING +
|
||||||
"\nmerged config is: " + _paddingConfig);
|
"\nmerged config is: " + _paddingConfig);
|
||||||
|
Reference in New Issue
Block a user