Bogdanp/django_dramatiq

Add silent option for startup

Open

#120 opened on Mar 17, 2022

 (3 comments) (0 reactions) (0 assignees)Python (86 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (384 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi,

Currently the rundramatiq management prints each tasks module it finds on startup:

* Discovered tasks module foo.tasks
* Discovered tasks module bar.tasks

This output can be quite long if you have many tasks modules.

It would be nice if this was possible to silence by adding a -v0 option to the command.

Relevant code: https://github.com/Bogdanp/django_dramatiq/blob/master/django_dramatiq/management/commands/rundramatiq.py#L176

Contributor guide