MINOR - Clean DEBUG logs (#17464)

Co-authored-by: Suman Maharana <sumanmaharana786@gmail.com>
This commit is contained in:
Pere Miquel Brull 2024-08-19 12:20:29 +02:00 committed by GitHub
parent 941f0a1bf6
commit b175e40e99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 1 additions and 6 deletions

View File

@ -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())

View File

@ -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())

View File

@ -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(

View File

@ -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())

View File

@ -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)

View File

@ -50,7 +50,7 @@ class OMetaIngestionPipelineMixin:
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