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

Reduce logging in sync-ingredients #1896

Open
rolandgeider opened this issue Feb 23, 2025 · 0 comments
Open

Reduce logging in sync-ingredients #1896

rolandgeider opened this issue Feb 23, 2025 · 0 comments

Comments

@rolandgeider
Copy link
Member

At the moment when running manage.py sync-ingredients every created or update ingredient is logged to the console. While this is very informative, when synchronizing the whole database this results in 2.5 million log messages...

So:

  • only output them when the verbose option is set, this option available to all management commands
  • check if we can just use tqdm to show the progress
@rolandgeider rolandgeider added this to 2.4 Feb 23, 2025
@rolandgeider rolandgeider moved this to Backlog in 2.4 Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant