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 | |
parent | ac61b6e196ac946e03bbac79006f613c272dbd1c (diff) | |
download | Ishtar-0112faa3ca8e199f6a3e9ba0ab6a89d1b9eade10.tar.bz2 Ishtar-0112faa3ca8e199f6a3e9ba0ab6a89d1b9eade10.zip |
🔧 do not put debug log in root path on Debian
-rw-r--r-- | changelog/en/changelog_2022-06-15.md | 8 | ||||
-rw-r--r-- | changelog/fr/changelog_2023-01-25.md | 7 | ||||
-rw-r--r-- | example_project/settings.py | 2 |
3 files changed, 15 insertions, 2 deletions
diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md index e33597574..10a126566 100644 --- a/changelog/en/changelog_2022-06-15.md +++ b/changelog/en/changelog_2022-06-15.md @@ -1,3 +1,10 @@ +v4.0.48 - 2023- +-------------------- + +### Technical ### +- Do not put debug log in root path on Debian + + v4.0.47 - 2023-06-08 -------------------- @@ -6,7 +13,6 @@ v4.0.47 - 2023-06-08 - Many fix (or potential fix) in templates (inappropriate l10n) (#5594) - v4.0.46 - 2023-05-26 -------------------- diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md index 1b3c4613b..96f39b212 100644 --- a/changelog/fr/changelog_2023-01-25.md +++ b/changelog/fr/changelog_2023-01-25.md @@ -1,3 +1,10 @@ +v4.0.48 - 2023- +-------------------- + +### Technique ### +- ne pas mettre le journal de débogage dans le répertoire projet sous Debian + + v4.0.47 - 2023-06-08 -------------------- 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" ) |