|
@@ -295,7 +295,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/info/info.log',
|
|
|
- 'backupCount': 10,
|
|
|
+ 'backupCount': 3,
|
|
|
'maxBytes': 1024 * 1024 * 2 * 1024, # 2G
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|
|
@@ -304,7 +304,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/error_code/error_code.log',
|
|
|
- 'backupCount': 10,
|
|
|
+ 'backupCount': 3,
|
|
|
'maxBytes': 1024 * 1024 * 2 * 1024, # 2G
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|
|
@@ -313,7 +313,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/success_code/success_code.log',
|
|
|
- 'backupCount': 10,
|
|
|
+ 'backupCount': 3,
|
|
|
'maxBytes': 1024 * 1024 * 2 * 1024, # 2G
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|
|
@@ -331,7 +331,7 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'class': 'logging.handlers.RotatingFileHandler',
|
|
|
'filename': BASE_DIR + '/static/log/apple_pay/apple_pay.log',
|
|
|
- 'backupCount': 10,
|
|
|
+ 'backupCount': 3,
|
|
|
'maxBytes': 1024 * 1024 * 2 * 1024, # 2G
|
|
|
'formatter': 'standard',
|
|
|
'encoding': 'utf-8',
|