logging
This commit is contained in:
@ -35,7 +35,7 @@ public class ConnectionPacketHandler {
|
|||||||
if (nextTime <= 0) {
|
if (nextTime <= 0) {
|
||||||
con.setNextSendTime(con.getOptions().getSendAckDelay() + _context.clock().now());
|
con.setNextSendTime(con.getOptions().getSendAckDelay() + _context.clock().now());
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.error("Scheduling ack in " + con.getOptions().getSendAckDelay() + "ms for received packet " + packet);
|
_log.debug("Scheduling ack in " + con.getOptions().getSendAckDelay() + "ms for received packet " + packet);
|
||||||
} else {
|
} else {
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("Ack is already scheduled in " + (nextTime-_context.clock().now())
|
_log.debug("Ack is already scheduled in " + (nextTime-_context.clock().now())
|
||||||
|
Reference in New Issue
Block a user