Commit 142afe69 by larosa

modify log path

parent c78281a7
Showing with 2 additions and 1 deletions
......@@ -7,7 +7,8 @@ import logging
config_toml = "/data/golang/src/europa-erp-go/manifest/config/config.toml"
config = toml.load(config_toml)
logging.basicConfig(level=logging.INFO, filename='result.log', format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
log_path = "/data/golang/src/europa-erp-go/scripts/result.log"
logging.basicConfig(level=logging.INFO, filename=log_path, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger("push.py")
# 生产环境请修改rabbitmq连接信息
......
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 sign in to comment