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

MINOR - Clean DEBUG logs #17464

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ingestion/src/metadata/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def run_app(config_path: Path) -> None:
try:
config_dict = load_config_file(config_path)
workflow = ApplicationWorkflow.create(config_dict)
logger.debug(f"Using config: {workflow.config}")
except Exception as exc:
logger.error(f"Error running the application {exc}")
logger.debug(traceback.format_exc())
Expand Down
1 change: 0 additions & 1 deletion ingestion/src/metadata/cli/dataquality.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run_test(config_path: Path) -> None:
workflow_config_dict = None
try:
workflow_config_dict = load_config_file(config_path)
logger.debug(f"Using config: {workflow_config_dict}")
workflow = TestSuiteWorkflow.create(workflow_config_dict)
except Exception as exc:
logger.debug(traceback.format_exc())
Expand Down
1 change: 0 additions & 1 deletion ingestion/src/metadata/cli/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run_ingest(config_path: Path) -> None:
try:
config_dict = load_config_file(config_path)
workflow = MetadataWorkflow.create(config_dict)
logger.debug(f"Using config: {workflow.config}")
except Exception as exc:
logger.debug(traceback.format_exc())
WorkflowInitErrorHandler.print_init_error(
Expand Down
1 change: 0 additions & 1 deletion ingestion/src/metadata/cli/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run_profiler(config_path: Path) -> None:
workflow_config_dict = None
try:
workflow_config_dict = load_config_file(config_path)
logger.debug(f"Using config: {workflow_config_dict}")
workflow = ProfilerWorkflow.create(workflow_config_dict)
except Exception as exc:
logger.debug(traceback.format_exc())
Expand Down
1 change: 0 additions & 1 deletion ingestion/src/metadata/cli/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run_usage(config_path: Path) -> None:
try:
config_dict = load_config_file(config_path)
workflow = UsageWorkflow.create(config_dict)
logger.debug(f"Using config: {workflow.config}")
except Exception as exc:
logger.debug(traceback.format_exc())
WorkflowInitErrorHandler.print_init_error(exc, config_dict, PipelineType.usage)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_or_update_pipeline_status(
data=pipeline_status.model_dump_json(),
)
logger.debug(
f"Created Pipeline Status for pipeline {ingestion_pipeline_fqn}: {resp}"
f"Created Pipeline Status for pipeline {ingestion_pipeline_fqn}: {pipeline_status}"
)
return resp

Expand Down
Loading