|
@@ -210,8 +210,9 @@ LOGGING = {
|
|
},
|
|
},
|
|
'v1_push': {
|
|
'v1_push': {
|
|
'level': 'INFO',
|
|
'level': 'INFO',
|
|
- 'class': 'logging.handlers.RotatingFileHandler',
|
|
|
|
|
|
+ 'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
|
|
'filename': BASE_DIR + '/static/log/v1log/info.log',
|
|
'filename': BASE_DIR + '/static/log/v1log/info.log',
|
|
|
|
+ 'backupCount': 3,
|
|
'maxBytes': 1024 * 1024 * 10 * 1024, # 10G
|
|
'maxBytes': 1024 * 1024 * 10 * 1024, # 10G
|
|
'formatter': 'standard',
|
|
'formatter': 'standard',
|
|
'encoding': 'utf-8',
|
|
'encoding': 'utf-8',
|