Open rcholic opened 1 week ago
Can you enable DEBUG logging to see where the error might be?
Can you enable DEBUG logging to see where the error might be?
hmm, I do have following setting turned on for debug mode in settings, but I don't see errors that lead to the worker interruption issue. Anywhere elese I can enable DEBUG logging? thanks!
log_level: LogLevel = LogLevel.DEBUG
Can you supply taskiq worker cli with --log-level DEBUG
argument?
Like taskiq worker --log-level DEBUG ...
.
Can you supply taskiq worker cli with
--log-level DEBUG
argument?Like
taskiq worker --log-level DEBUG ...
.
I'm using docker-compose to start the worker like following:
taskiq-worker:
<<: *main_app
labels: []
command:
- taskiq
- worker
- -fsd
- my_app.tkq:broker
to add log-level , is following correct?
taskiq-worker:
<<: *main_app
labels: []
command:
- taskiq
- worker
- -fsd
- --log-level DEBUG
- my_app.tkq:broker
Yes, should be correct.
I use taskiq with ListQueueBroker (backed by reddis). In the log, I see a lots of worker process interrupted:
Is there a way to keep the worker and broker keep running?