From dd41aba148f2b18387ee3195dc2c1e1e9a099f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= Date: Thu, 5 Dec 2024 18:17:29 +0100 Subject: [PATCH] Review comment followed. --- nikola/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nikola/__init__.py b/nikola/__init__.py index cb33dc26b..4934a3c94 100644 --- a/nikola/__init__.py +++ b/nikola/__init__.py @@ -31,10 +31,13 @@ # The current Nikola version: __version__ = '8.3.1' + # A flag whether logging should emit debug information: DEBUG = bool(os.getenv('NIKOLA_DEBUG')) + # A flag whether special templates trace logging should be generated: TEMPLATES_TRACE = bool(os.getenv('NIKOLA_TEMPLATES_TRACE')) + # When this flag is set, fewer exceptions are handled internally; # instead they are left unhandled for the run time system to deal with them, # which typically leads to the stack traces being exposed.