]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
If debug mode is enabled, also pass this setting on to django-q 1058/head
authorTrenton Holmes <holmes.trenton@gmail.com>
Wed, 1 Jun 2022 15:59:20 +0000 (08:59 -0700)
committerTrenton Holmes <holmes.trenton@gmail.com>
Wed, 1 Jun 2022 15:59:20 +0000 (08:59 -0700)
src/paperless/settings.py

index 7f484ad9720dc891f39bfda7b14419be05c97160..c512b1d47c247ca6594f1d06dab094c0b13b1981 100644 (file)
@@ -464,6 +464,7 @@ Q_CLUSTER = {
     "timeout": PAPERLESS_WORKER_TIMEOUT,
     "workers": TASK_WORKERS,
     "redis": os.getenv("PAPERLESS_REDIS", "redis://localhost:6379"),
+    "log_level": "DEBUG" if DEBUG else "INFO",
 }