Commit 5de0dcb8 authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'master'

add logging

See merge request alpha/physical!283
parents e861dc03 cc1ab252
......@@ -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