Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add silent option for startup #120

Open
strokirk opened this issue Mar 17, 2022 · 3 comments
Open

Add silent option for startup #120

strokirk opened this issue Mar 17, 2022 · 3 comments

Comments

@strokirk
Copy link

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

@andrewgy8
Copy link
Collaborator

Hi @strokirk,

I noticed that you closed your PR, and I wanted to check if there’s a particular reason for that. I do think this would be a valuable change. If you’d like to reopen it, I’d be happy to review it.

Thanks again for your contribution!

@strokirk
Copy link
Author

strokirk commented Jan 2, 2025

Hi @andrewgy8 , I think it was @q0w that made that PR. If I were to guess, they probably just closed it as cleanup since there was no response.

@andrewgy8
Copy link
Collaborator

Ah my bad! 😅 Thanks for clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants