[Checkins] SVN: zc.zk/trunk/src/zc/zk/ - Fixed: The ZooKeeper logging sometimes generated lots of spurious

jim cvs-admin at zope.org
Thu Jun 21 19:38:06 UTC 2012


Log message for revision 126984:
  - Fixed: The ZooKeeper logging sometimes generated lots of spurious
    empty log messages.
  

Changed:
  U   zc.zk/trunk/src/zc/zk/README.txt
  U   zc.zk/trunk/src/zc/zk/__init__.py

-=-
Modified: zc.zk/trunk/src/zc/zk/README.txt
===================================================================
--- zc.zk/trunk/src/zc/zk/README.txt	2012-06-21 12:54:21 UTC (rev 126983)
+++ zc.zk/trunk/src/zc/zk/README.txt	2012-06-21 19:38:02 UTC (rev 126984)
@@ -1165,6 +1165,12 @@
 Change History
 ==============
 
+0.9.0 (2012-06-21)
+------------------
+
+- Fixed: The ZooKeeper logging sometimes generated lots of spurious
+  empty log messages.
+
 0.8.0 (2012-05-15)
 ------------------
 

Modified: zc.zk/trunk/src/zc/zk/__init__.py
===================================================================
--- zc.zk/trunk/src/zc/zk/__init__.py	2012-06-21 12:54:21 UTC (rev 126983)
+++ zc.zk/trunk/src/zc/zk/__init__.py	2012-06-21 19:38:02 UTC (rev 126984)
@@ -42,6 +42,8 @@
                   )
     while 1:
         line = f.readline().strip()
+        if not line:
+            continue
         try:
             if '@' in line:
                 level, message = line.split('@', 1)



More information about the checkins mailing list