Skip to content

Commit 97444d8

Browse files
committed
Update task executor function
1 parent 655bc2f commit 97444d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

functions-python/tasks_executor/src/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818

1919
import flask
2020
import functions_framework
21-
21+
from shared.helpers.logger import init_logger
2222
from tasks.validation_reports.rebuild_missing_validation_reports import (
2323
rebuild_missing_validation_reports_handler,
2424
)
2525

26+
27+
init_logger()
2628
LIST_COMMAND: Final[str] = "list"
2729
tasks = {
2830
"list_tasks": {

functions-python/tasks_executor/src/tasks/validation_reports/rebuild_missing_validation_reports.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
from shared.helpers.query_helper import get_datasets_with_missing_reports_query
3131
from shared.helpers.validation_report.validation_report_update import execute_workflows
3232

33-
logging.basicConfig(level=logging.INFO)
34-
3533
QUERY_LIMIT: Final[int] = 100
3634

3735

0 commit comments

Comments
 (0)