aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-16 14:42:09 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-16 14:42:09 -0400
commit98ea3805499ab6ba4137d74bc2894c8f8102fc1e (patch)
treeb9aa83fa64f4727f9d632464c1734b7e7b19fd02
parent50828cfb0953a3817bf3b2378f8d47e148f099ef (diff)
downloadpython-termcast-server-98ea3805499ab6ba4137d74bc2894c8f8102fc1e.tar.gz
python-termcast-server-98ea3805499ab6ba4137d74bc2894c8f8102fc1e.zip
a few more logging prints
-rw-r--r--ssh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh.py b/ssh.py
index b07b31c..f82a76d 100644
--- a/ssh.py
+++ b/ssh.py
@@ -36,11 +36,13 @@ class Connection(object):
if self.watching_id is None:
break
+ print("new viewer watching " + self.watching_id)
self.publisher.notify("new_viewer", self.watching_id)
while True:
c = self.chan.recv(1)
if c == b'q':
+ print("viewer stopped watching " + self.watching_id)
self.publisher.notify("viewer_disconnect", self.watching_id)
break