Commit dea11135 authored by Kai's avatar Kai

add logging info

parent 64612744
......@@ -82,6 +82,7 @@ class CollectData(object):
have_read_topic_id_list)
if len(recommend_topic_id_list_click) > 0:
num = min(len(recommend_topic_id_list_click), 2)
logging.info("recommend_topic_id_list:%s" % (str(num)))
for i in range(0,num):
recommend_topic_id_list.append(recommend_topic_id_list_click[i])
......@@ -91,6 +92,7 @@ class CollectData(object):
tag_id_list = recommend_tag_list[0:100]
tag_topic_id_list = ESPerform.get_tag_topic_list(tag_id_list,have_read_topic_id_list)
recommend_topic_id_list.extend(tag_topic_id_list)
logging.info("recommend_topic_id_list:%s"%(str(recommend_topic_id_list)))
# for index in range(0,100):
# recommend_topic_id_list_es = list()
......
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