|
|
|
@ -204,7 +204,7 @@ LOGGING = { |
|
|
|
'production_file': { |
|
|
|
'production_file': { |
|
|
|
'level': 'DEBUG', |
|
|
|
'level': 'DEBUG', |
|
|
|
'class': 'logging.handlers.RotatingFileHandler', |
|
|
|
'class': 'logging.handlers.RotatingFileHandler', |
|
|
|
'filename': '/var/log/eshop_main_prod.log', |
|
|
|
'filename': 'logs/eshop_main_prod.log', |
|
|
|
'maxBytes': 1024*1024*5, |
|
|
|
'maxBytes': 1024*1024*5, |
|
|
|
'backupCount': 7, |
|
|
|
'backupCount': 7, |
|
|
|
'formatter': 'main_formatter', |
|
|
|
'formatter': 'main_formatter', |
|
|
|
@ -213,7 +213,7 @@ LOGGING = { |
|
|
|
'debug_file': { |
|
|
|
'debug_file': { |
|
|
|
'level': 'DEBUG', |
|
|
|
'level': 'DEBUG', |
|
|
|
'class': 'logging.handlers.RotatingFileHandler', |
|
|
|
'class': 'logging.handlers.RotatingFileHandler', |
|
|
|
'filename': '/var/log/eshop_main_dev.log', |
|
|
|
'filename': 'logs/eshop_main_dev.log', |
|
|
|
'maxBytes': 1024*1024*5, |
|
|
|
'maxBytes': 1024*1024*5, |
|
|
|
'backupCount': 7, |
|
|
|
'backupCount': 7, |
|
|
|
'formatter': 'main_formatter', |
|
|
|
'formatter': 'main_formatter', |
|
|
|
|