Commit 29516392 authored by Kai's avatar Kai

add logging

parent ce776037
...@@ -244,6 +244,7 @@ class CollectData(object): ...@@ -244,6 +244,7 @@ class CollectData(object):
tagid_list = raw_val_dict["params"]["tagid_list"] tagid_list = raw_val_dict["params"]["tagid_list"]
else: else:
tagid_list = list() tagid_list = list()
logging.warning("unknown type msg:%s" % raw_val_dict.get("type", "missing type"))
logging.info( logging.info(
"consume click topic_id:%s,device_id:%s" % ( "consume click topic_id:%s,device_id:%s" % (
str(tagid_list), str(device_id))) str(tagid_list), str(device_id)))
......
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