Print timestamps to zephyr mirror console.

(imported from commit 9aacfc5384d70cd627e78577c4f8ef3d25fc7942)
This commit is contained in:
Tim Abbott 2012-10-01 11:57:35 -04:00
parent ce979592b0
commit 720813ea7b
1 changed files with 2 additions and 2 deletions

View File

@ -199,8 +199,8 @@ def process_loop(log):
log.write(simplejson.dumps(zeph) + '\n')
log.flush()
print "received a message on %s/%s from %s..." % \
(notice.cls, notice.instance, notice.sender)
print "%s: received a message on %s/%s from %s..." % \
(datetime.datetime.now(), notice.cls, notice.instance, notice.sender)
send_humbug(zeph)
except:
print >>sys.stderr, 'Error relaying zephyr'