diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-08 12:10:55 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-08 12:18:56 +0200 |
commit | 0112faa3ca8e199f6a3e9ba0ab6a89d1b9eade10 (patch) | |
tree | d323e22f84eb228463c50c61de6a1dc6c2c91052 /example_project/settings.py | |
parent | ac61b6e196ac946e03bbac79006f613c272dbd1c (diff) | |
download | Ishtar-0112faa3ca8e199f6a3e9ba0ab6a89d1b9eade10.tar.bz2 Ishtar-0112faa3ca8e199f6a3e9ba0ab6a89d1b9eade10.zip |
🔧 do not put debug log in root path on Debian
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 2 |
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" ) |