diff --git a/conf/wjtx_log.py b/conf/wjtx_log_conf.py similarity index 99% rename from conf/wjtx_log.py rename to conf/wjtx_log_conf.py index 588d431..e8cf090 100644 --- a/conf/wjtx_log.py +++ b/conf/wjtx_log_conf.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- mysql_conn = {"host": "192.168.100.30", "user": "miles", "pswd": "aspect", "db": "wjtx_log01"} - db_tables = ( "act_recharge", "arena_$date", "cailiao_$date", "chat_$date", "copy_end_$date", "exp_flow_$date", "first_charge", "gift_bag", "item_change_$date", "mail_$date", "match_$date", "money_change_$date", "multi_player_boss", diff --git a/wjtx_log2tga.py b/wjtx_log2tga.py index 4a507c0..f2da8f6 100644 --- a/wjtx_log2tga.py +++ b/wjtx_log2tga.py @@ -15,9 +15,8 @@ __author__ = 'pengtao' from common.plog import define_logger from common.mmysql import MysqlBase from common.mtga import FromTga -from common.common import is_number import logging -from conf.wjtx_log import * +from conf.wjtx_log_conf import * import datetime define_logger("/data/logs/ops/wjtx_log2tga.log")