Commit 4d859835 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Spit monitor messages out to stderr

parent a38a1f9c
......@@ -93,7 +93,10 @@ def main():
msg['event_time'] = split_time(time.time())
msg['instance'] = instance_name
# and send it over AMQP
# log to stderr
sys.stderr.write("[MONITOR] %s\n" % json.dumps(msg))
# then send it over AMQP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment