Files
django-q2/django_q
Stan Triepels 00fe611b86 Use logger.hasHandlers() to setup fallback logging (#13)
Instead of checking if the django-q logger has any handlers directly,
use the hasHandlers [1] method, which will check if any parent loggers
have handlers as well.

This fixes a bug where django-q configures it's own logging even though
the root logger has a handler set

 1. https://docs.python.org/3/library/logging.html#logging.Logger.hasHandlers

Co-authored-by: Wesley Ellis <wellis@benchsci.com>
2022-10-15 17:39:51 +02:00
..
2021-05-30 17:10:07 +02:00
2022-10-14 01:52:05 +02:00
2021-05-30 17:10:07 +02:00
2021-05-30 17:10:07 +02:00
2021-06-10 18:40:27 +02:00
2022-10-14 17:13:48 +02:00
2021-06-10 15:42:21 +02:00
2021-05-30 17:10:07 +02:00
2021-05-30 17:10:07 +02:00
2022-10-14 17:13:48 +02:00
2021-05-30 17:10:07 +02:00
2021-05-30 17:10:07 +02:00
2020-06-15 16:02:14 +02:00
2021-05-30 17:10:07 +02:00
2021-05-30 17:10:07 +02:00