From 66e0527a90b5559684dbc37cad984c0e6790fc5b Mon Sep 17 00:00:00 2001 From: Nahuel Date: Wed, 10 Aug 2022 17:02:16 +0200 Subject: [PATCH] Fix: Profiler DAG takes loggerLevel from ingestion pipeline (#6685) --- .../openmetadata_managed_apis/workflows/ingestion/profiler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/profiler.py b/openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/profiler.py index e2b94b1896e..37f8485cd23 100644 --- a/openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/profiler.py +++ b/openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/profiler.py @@ -28,6 +28,7 @@ from metadata.generated.schema.entity.services.ingestionPipelines.ingestionPipel IngestionPipeline, ) from metadata.generated.schema.metadataIngestion.workflow import ( + LogLevels, OpenMetadataWorkflowConfig, Processor, Sink, @@ -52,7 +53,8 @@ def build_profiler_workflow_config( config={}, ), workflowConfig=WorkflowConfig( - openMetadataServerConfig=ingestion_pipeline.openMetadataServerConnection + loggerLevel=ingestion_pipeline.loggerLevel or LogLevels.INFO, + openMetadataServerConfig=ingestion_pipeline.openMetadataServerConnection, ), )