Commit fb73cc1f authored by 王英豪's avatar 王英豪

1

parent c0d7292a
...@@ -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/data/log/release_log/all.log', # 日志输出文件 'filename': '/home/quant_group/logs/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/data/log/release_log/error.log', 'filename': '/home/quant_group/logs/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/data/log/release_log/info.log', 'filename': '/home/quant_group/logs/info.log',
'maxBytes': 1024 * 1024 * 30, 'maxBytes': 1024 * 1024 * 30,
'backupCount': 2, 'backupCount': 2,
'formatter': 'standard', 'formatter': 'standard',
......
[uwsgi] [uwsgi]
http = :8081 http = :80
chdir = /home/quant_group/AutomatedTestPlatform chdir = /home/quant_group/AutomatedTestPlatform
module = AutomatedTestPlatform.wsgi module = AutomatedTestPlatform.wsgi
master = true master = true
...@@ -8,7 +8,7 @@ vacuum = true ...@@ -8,7 +8,7 @@ vacuum = true
wsgi-file = AutomatedTestPlatform/wsgi.py wsgi-file = AutomatedTestPlatform/wsgi.py
max-requests = 50000 max-requests = 50000
threads = 2 threads = 2
daemonize =/home/quant_group/data/log/release_log/all.log daemonize =/home/quant_group/logs/all.log
py-autoreload = 1 py-autoreload = 1
# 进程个数 # 进程个数
workers=1 workers=1
......
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