Commit cc1ab252 authored by Kai's avatar Kai

add logging

parent 82c32c96
......@@ -243,6 +243,9 @@ class CollectData(object):
tagid_list = raw_val_dict["params"]["tagid_list"]
else:
tagid_list = list()
logging.info(
"consume topic_id:%s,device_id:%s" % (
str(tagid_list), str(device_id)))
device_id = raw_val_dict["device"]["device_id"]
user_id = raw_val_dict["user_id"] if "user_id" in raw_val_dict else None
......
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