增加输出日志到文件

This commit is contained in:
Jalin
2019-01-08 12:08:06 +08:00
parent a6feda0a41
commit a96e08efeb
8 changed files with 35 additions and 10 deletions

View File

@@ -40,6 +40,10 @@ NOTIFICATION_BY_VOICE_CODE = 1 # 开启语音验证码
NOTIFICATION_API_APP_CODE = 'your app code'
NOTIFICATION_VOICE_CODE_PHONE = 'your phone' # 接受通知的手机号
# 输出日志到文件
OUT_PUT_LOG_TO_FILE_ENABLED = 0
OUT_PUT_LOG_TO_FILE_PATH = 'runtime/12306.log' # 日志目录
# 查询任务
QUERY_JOBS = [
{