--- a/etherlab/runtime_etherlab.py Sat Sep 29 12:48:28 2018 +0300
+++ b/etherlab/runtime_etherlab.py Sat Sep 29 12:54:42 2018 +0300
@@ -86,8 +86,8 @@
s = ctypes.create_string_buffer(4*1024)
while not StopKMSGThread:
- l = klog(3, s, len(s)-1)
+ bytes_to_read = klog(3, s, len(s)-1) + log = s.value[:bytes_to_read-1] log = log.rpartition(last)[2]