mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
MINOR - Clean DEBUG logs (#17464)
Co-authored-by: Suman Maharana <sumanmaharana786@gmail.com>
This commit is contained in:
parent
941f0a1bf6
commit
b175e40e99
@ -33,7 +33,6 @@ def run_app(config_path: Path) -> None:
|
|||||||
try:
|
try:
|
||||||
config_dict = load_config_file(config_path)
|
config_dict = load_config_file(config_path)
|
||||||
workflow = ApplicationWorkflow.create(config_dict)
|
workflow = ApplicationWorkflow.create(config_dict)
|
||||||
logger.debug(f"Using config: {workflow.config}")
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.error(f"Error running the application {exc}")
|
logger.error(f"Error running the application {exc}")
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
|
@ -37,7 +37,6 @@ def run_test(config_path: Path) -> None:
|
|||||||
workflow_config_dict = None
|
workflow_config_dict = None
|
||||||
try:
|
try:
|
||||||
workflow_config_dict = load_config_file(config_path)
|
workflow_config_dict = load_config_file(config_path)
|
||||||
logger.debug(f"Using config: {workflow_config_dict}")
|
|
||||||
workflow = TestSuiteWorkflow.create(workflow_config_dict)
|
workflow = TestSuiteWorkflow.create(workflow_config_dict)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
|
@ -38,7 +38,6 @@ def run_ingest(config_path: Path) -> None:
|
|||||||
try:
|
try:
|
||||||
config_dict = load_config_file(config_path)
|
config_dict = load_config_file(config_path)
|
||||||
workflow = MetadataWorkflow.create(config_dict)
|
workflow = MetadataWorkflow.create(config_dict)
|
||||||
logger.debug(f"Using config: {workflow.config}")
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
WorkflowInitErrorHandler.print_init_error(
|
WorkflowInitErrorHandler.print_init_error(
|
||||||
|
@ -37,7 +37,6 @@ def run_profiler(config_path: Path) -> None:
|
|||||||
workflow_config_dict = None
|
workflow_config_dict = None
|
||||||
try:
|
try:
|
||||||
workflow_config_dict = load_config_file(config_path)
|
workflow_config_dict = load_config_file(config_path)
|
||||||
logger.debug(f"Using config: {workflow_config_dict}")
|
|
||||||
workflow = ProfilerWorkflow.create(workflow_config_dict)
|
workflow = ProfilerWorkflow.create(workflow_config_dict)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
|
@ -38,7 +38,6 @@ def run_usage(config_path: Path) -> None:
|
|||||||
try:
|
try:
|
||||||
config_dict = load_config_file(config_path)
|
config_dict = load_config_file(config_path)
|
||||||
workflow = UsageWorkflow.create(config_dict)
|
workflow = UsageWorkflow.create(config_dict)
|
||||||
logger.debug(f"Using config: {workflow.config}")
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
WorkflowInitErrorHandler.print_init_error(exc, config_dict, PipelineType.usage)
|
WorkflowInitErrorHandler.print_init_error(exc, config_dict, PipelineType.usage)
|
||||||
|
@ -50,7 +50,7 @@ class OMetaIngestionPipelineMixin:
|
|||||||
data=pipeline_status.model_dump_json(),
|
data=pipeline_status.model_dump_json(),
|
||||||
)
|
)
|
||||||
logger.debug(
|
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
|
return resp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user