From bdf2ec3416c50d44a1aa618d52f7d294467b1e7c Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Fri, 13 Jul 2018 17:31:45 +0300 Subject: [PATCH] update path for log files in production settings --- eshop_project/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eshop_project/settings/production.py b/eshop_project/settings/production.py index 51e8a6b..c2300c5 100644 --- a/eshop_project/settings/production.py +++ b/eshop_project/settings/production.py @@ -25,4 +25,4 @@ EMAIL_HOST_PASSWORD = EMAIL_CONFIG.get('EMAIL_HOST_PASSWORD') # Logging LOGGING['handlers']['production_file'] = os.path.join(os.path.dirname(BASE_DIR),'logs/eshop_main_prod.log') -LOGGING['handlers']['debug_file'] = os.path.join(os.path.dirname(BASE_DIR),'logs/eshop_main_prod.log') +LOGGING['handlers']['debug_file'] = os.path.join(os.path.dirname(BASE_DIR),'logs/eshop_main_dev.log')