Bogdanp/django_dramatiq

Add silent option for startup

開放

#120 建立於 2022年3月17日

 (3 則留言) (0 個反應) (0 位負責人)Python (86 個分叉)github user discovery
enhancementgood first issue

倉庫指標

星標
 (384 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南