Open LucSIGIER-LIAL opened 1 month ago
Greetings @LucSIGIER-LIAL !
django_dramatiq
and dramatiq
libraries loading is not affected by Django's logging module.
Let's me try to clarify a couple of things to make sure we are on the same page.
In your LOGGING
configuration I see that you are setting django
logger (the only logger) to level ERROR
. That means logging messages under ERROR
level (so, INFO
for example) are not tracked.
And since there is no explicit custom dramatiq logger set, it uses here the django
one.
Thus, you are not seeing all WorkerProcess
messages, as you are excluding them.
To validate this, try to update your django
logger level to INFO
and boot it again. You will see WorkerProcess
messages as you are expecting them.
Best, Rust
Hello everyone.
In my Django application i used Dramatiq and i found out using LOGGING and Dramatiq in the same time make dramatiq fail to boot. My configuration :
When i run the command
> python .\manage.py rundramatiq
That the results i have :If i erase my LOGGING configuration dramatiq boot well :
It's a know issue ? If yes what can i do to fix this ?