logging
This commit is contained in:
@ -120,7 +120,7 @@ public class FragmentedMessage {
|
|||||||
_lastReceived = isLast;
|
_lastReceived = isLast;
|
||||||
_toRouter = toRouter;
|
_toRouter = toRouter;
|
||||||
_toTunnel = toTunnel;
|
_toTunnel = toTunnel;
|
||||||
if (isLast)
|
if (_highFragmentNum < 0)
|
||||||
_highFragmentNum = 0;
|
_highFragmentNum = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,8 +278,8 @@ public class TunnelPool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void tunnelFailed(PooledTunnelCreatorConfig cfg) {
|
public void tunnelFailed(PooledTunnelCreatorConfig cfg) {
|
||||||
if (_log.shouldLog(Log.ERROR))
|
if (_log.shouldLog(Log.WARN))
|
||||||
_log.error(toString() + ": Tunnel failed: " + cfg, new Exception("failure cause"));
|
_log.warn(toString() + ": Tunnel failed: " + cfg, new Exception("failure cause"));
|
||||||
int remaining = 0;
|
int remaining = 0;
|
||||||
LeaseSet ls = null;
|
LeaseSet ls = null;
|
||||||
synchronized (_tunnels) {
|
synchronized (_tunnels) {
|
||||||
|
Reference in New Issue
Block a user