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