|
@@ -188,7 +188,7 @@ LOGGING = {
|
|
'default': {
|
|
'default': {
|
|
'level': 'ERROR',
|
|
'level': 'ERROR',
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
- 'filename': BASE_DIR + '/static/log/error.log',
|
|
|
|
|
|
+ 'filename': BASE_DIR + '/static/log/error/error.log',
|
|
'maxBytes': 1024 * 1024 * 5, # 5 MB
|
|
'maxBytes': 1024 * 1024 * 5, # 5 MB
|
|
'backupCount': 5,
|
|
'backupCount': 5,
|
|
'formatter': 'error_format',
|
|
'formatter': 'error_format',
|