Commit dc1f9194 authored by 谢祁峰's avatar 谢祁峰

fix

parent 44ae6f87
......@@ -299,7 +299,7 @@ class CollectData(object):
try:
raw_val_dict, msg = loads_data(ori_msg.value)
if msg:
logging.info(ori_msg.value)
logging.info(msg,ori_msg.value)
else:
logging.info(msg,ori_msg.value)
......@@ -684,7 +684,7 @@ class CollectData(object):
"venus/community/survey_question/record_kyc_last_question" in str(data['SYS'].get('action',"")):
action = str(data['SYS'].get('action', ''))
logging.info("action=%s" % action)
logging.info('action:%s' % action)
tag_ids = list(data["APP"].get("tag_ids", []))
tag_list = list(Tag.objects.using(settings.SLAVE1_DB_NAME).filter(
id__in=tag_ids, is_online=True, is_deleted=False,
......@@ -694,7 +694,7 @@ class CollectData(object):
self.transfer_update_recommend_tag_list(device_id, user_feature, user_id,
tag_list,
5)
logging.info("%s,device_id:%s,tag_list:%s" % (action,
logging.info("action:%s,device_id:%s,tag_list:%s" % (action,
str(device_id), str(tag_list)))
else:
if msg:
......
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