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

Using run_task with log_level duplicates log entries #310

Closed
tkilias opened this issue May 8, 2023 · 0 comments · Fixed by #313
Closed

Using run_task with log_level duplicates log entries #310

tkilias opened this issue May 8, 2023 · 0 comments · Fixed by #313
Assignees
Labels
bug Unwanted / harmful behavior

Comments

@tkilias
Copy link
Contributor

tkilias commented May 8, 2023

Background

  • After n calls to run_task with log_level, the log entries get printed n times
  • The reason is that each call to run_task with log_level calls luigi.build with log_level and because we disable each time the initialized flag of luigi's config setup, it add a handler to the luigi logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted / harmful behavior
Projects
None yet
1 participant