Commit 9b9711b8 authored by 王英豪's avatar 王英豪

1

parent 6f1690da
...@@ -77,7 +77,7 @@ if ENV_PROFILE == "SERVER": ...@@ -77,7 +77,7 @@ if ENV_PROFILE == "SERVER":
'default': { 'default': {
'level': 'DEBUG', 'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.RotatingFileHandler',
'filename': '/home/quant_group/logs/all.log', # 日志输出文件 'filename': '/home/quant_group/data/log/release_log/all.log', # 日志输出文件
'maxBytes': 1024 * 1024 * 30, # 文件大小 'maxBytes': 1024 * 1024 * 30, # 文件大小
'backupCount': 2, # 备份份数 'backupCount': 2, # 备份份数
'formatter': 'standard', # 使用哪种formatters日志格式 'formatter': 'standard', # 使用哪种formatters日志格式
...@@ -86,7 +86,7 @@ if ENV_PROFILE == "SERVER": ...@@ -86,7 +86,7 @@ if ENV_PROFILE == "SERVER":
'error': { 'error': {
'level': 'ERROR', 'level': 'ERROR',
'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.RotatingFileHandler',
'filename': '/home/quant_group/logs/error.log', 'filename': '/home/quant_group/data/log/release_log/error.log',
'maxBytes': 1024 * 1024 * 30, 'maxBytes': 1024 * 1024 * 30,
'backupCount': 2, 'backupCount': 2,
'formatter': 'standard', 'formatter': 'standard',
...@@ -100,7 +100,7 @@ if ENV_PROFILE == "SERVER": ...@@ -100,7 +100,7 @@ if ENV_PROFILE == "SERVER":
'info': { 'info': {
'level': 'INFO', 'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.RotatingFileHandler',
'filename': '/home/quant_group/logs/info.log', 'filename': '/home/quant_group/data/log/release_log/info.log',
'maxBytes': 1024 * 1024 * 30, 'maxBytes': 1024 * 1024 * 30,
'backupCount': 2, 'backupCount': 2,
'formatter': 'standard', 'formatter': 'standard',
......
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