Bogdanp/django_dramatiq

Add silent option for startup

Ouverte

#120 ouverte le 17 mars 2022

 (3 commentaires) (0 réaction) (0 personne assignée)Python (86 forks)github user discovery
enhancementgood first issue

Métriques du dépôt

Stars
 (384 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur