Authored by wuxiao

添加调试信息

... ... @@ -76,6 +76,9 @@ while True:
json_body = dict(data['data'],**data['tags'])
if json_body['message'] == 'sdhfsodifjoisdfsoi':
print json_body
middleware = 'mongodb'
elif data['group'] == 'performance':
... ...
... ... @@ -93,6 +93,7 @@ def connect_close():
#数据入库定时器
def data_pull_timer(queue):
data_pull(queue,'Timer')
print 'new Timer'
Timer(Config.multi_insert_timeout,data_pull_timer,[queue]).start()
#数据入库
... ...