Skip to content

Commit

Permalink
MINOR - Clean DEBUG logs (#17464)
Browse files Browse the repository at this point in the history
Co-authored-by: Suman Maharana <sumanmaharana786@gmail.com>
  • Loading branch information
pmbrull and SumanMaharana authored Aug 19, 2024
1 parent 941f0a1 commit b175e40
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
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

0 comments on commit b175e40

Please sign in to comment.