diff --git a/.travis.yml b/.travis.yml index 674090ee..40415ff9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,8 @@ script: - cd test - python regtest.py - python wallet-test.py + - cd ../logs + - for x in `ls`; do tail -50 $x; done branches: only: - develop diff --git a/joinmarket/irc.py b/joinmarket/irc.py index 15be2446..5dcd5d7a 100644 --- a/joinmarket/irc.py +++ b/joinmarket/irc.py @@ -85,6 +85,7 @@ def run(self): pingmsg = self.irc.pingQ.get(block=False) #ping messages are not counted to throttling totals, #so send immediately + log.debug("sending: "+pingmsg) self.irc.sock.sendall(pingmsg + '\r\n') continue except Queue.Empty: @@ -113,6 +114,7 @@ def run(self): except Queue.Empty: #this code *should* be unreachable. continue + log.debug("sending: "+throttled_msg) self.irc.sock.sendall(throttled_msg+'\r\n') last_msg_time = time.time() self.msg_buffer.append((throttled_msg, last_msg_time))