|
@@ -194,11 +194,10 @@ LOGGING = {
|
|
|
},
|
|
|
'info': {
|
|
|
'level': 'INFO',
|
|
|
- 'class': 'logging.handlers.TimedRotatingFileHandler',
|
|
|
+ 'class': 'logging.handlers.RotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/info/info.log',
|
|
|
'maxBytes': 1024 * 1024 * 300, # 300M
|
|
|
'backupCount': 30,
|
|
|
- 'when': 'D',
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|
|
|
},
|