Commit 5194a41e authored by 黄凯's avatar 黄凯

Merge branch 'hk_now' into 'master'

add logging

See merge request alpha/physical!265
parents 28319cb3 42b7a5d8
......@@ -311,6 +311,7 @@ class ESPerform(object):
offset=0, size=100,routing="3,4,5")
topic_id_list = [item["_source"]["id"] for item in result_dict["hits"]]
logging.info("topic_id_list:%s"%str(topic_id_list))
return topic_id_list
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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