summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 95abc793e..55bc92465 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -381,7 +381,7 @@ PROJECT_SLUG = locals().get("PROJECT_SLUG", "default")
if LOG_FILE:
LOGGING["handlers"]["logfile"]["filename"] = LOG_FILE
-elif DEBUG:
+elif DEBUG and EXTRA_VERSION != "debian":
LOGGING["handlers"]["logfile"]["filename"] = (
ROOT_PATH + "log-" + PROJECT_SLUG + ".log"
)