|
@@ -203,7 +203,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/info/info.log',
|
|
|
- 'backupCount': 4,
|
|
|
+ 'backupCount': 3,
|
|
|
'maxBytes': 1024 * 1024 * 2 * 1024, # 一天以内2GB 保存5天共10GB
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|
|
@@ -212,7 +212,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/time/info.log',
|
|
|
- 'backupCount': 8,
|
|
|
+ 'backupCount': 7,
|
|
|
'maxBytes': 1024 * 1024 * 5 * 1024, # 一天9GB 保存5天 共45GB
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|