Always enable debug log and microsecond logging for test nodes.

This commit is contained in:
John Newbery
2017-02-24 12:17:46 -05:00
parent 6d0e3250bb
commit af1363cb1c
2 changed files with 2 additions and 2 deletions

View File

@@ -1744,7 +1744,7 @@ class NodeConn(asyncore.dispatcher):
def send_message(self, message, pushbuf=False):
if self.state != "connected" and not pushbuf:
raise IOError('Not connected, no pushbuf')
logger.debug("Send message to %s:%d: %s" % (self.dstaddr, self.dstport, repr(message)))
logger.debug("Send message to %s:%d: %s" % (self.dstaddr, self.dstport, repr(message)))
command = message.command
data = message.serialize()
tmsg = self.MAGIC_BYTES[self.network]