code: def handle_log_entry(self, m):
          '''handling incoming log entry'''
          if m.time_utc == 0:
              tstring = ''
          else:
              tstring = time.ctime(m.time_utc)
          self.entries[m.id] = m
          print("Log %u  numLogs %u lastLog %u size %u %s" % (m.id, m.num_logs, m.last_log_num, m.size, tstring)f handle_log_entry(self, m):
          '''handling incoming log entry'''
          if m.time_utc == 0:
              tstring = ''
          else:
              tstring = time.ctime(m.time_utc)
          self.entries[m.id] = m
          print("Log %u  numLogs %u lastLog %u size %u %s" % (m.id, m.num_logs, m.last_log_num, m.size, tstring))
docs: handling incoming log entry