Skip to content

Commit a751eba

Browse files
authored
Reduce logging verbosity (#392)
1 parent 8b04138 commit a751eba

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/conductor/client/automator/async_task_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async def __async_register_task_definition(self) -> None:
248248
schema_client = OrkesSchemaClient(self.configuration)
249249
except Exception as e:
250250
# Schema client not available (server doesn't support schemas)
251-
logger.warning(f"⚠ Schema registry not available on server - task will be registered without schemas")
251+
logger.debug(f"⚠ Schema registry not available on server - task will be registered without schemas")
252252
logger.debug(f" Error: {e}")
253253
schema_registry_available = False
254254
schema_client = None
@@ -273,7 +273,7 @@ async def __async_register_task_definition(self) -> None:
273273
except Exception as e:
274274
# Check if this is a 404 (API endpoint doesn't exist on server)
275275
if hasattr(e, 'status') and e.status == 404:
276-
logger.warning(f"⚠ Schema registry API not available on server (404) - task will be registered without schemas")
276+
logger.debug(f"⚠ Schema registry API not available on server (404) - task will be registered without schemas")
277277
schema_registry_available = False
278278
input_schema_name = None
279279
else:
@@ -298,7 +298,7 @@ async def __async_register_task_definition(self) -> None:
298298
except Exception as e:
299299
# Check if this is a 404 (API endpoint doesn't exist on server)
300300
if hasattr(e, 'status') and e.status == 404:
301-
logger.warning(f"⚠ Schema registry API not available on server (404)")
301+
logger.debug(f"⚠ Schema registry API not available on server (404)")
302302
schema_registry_available = False
303303
else:
304304
# Other error - log and continue without this schema
@@ -393,7 +393,7 @@ async def __async_register_task_definition(self) -> None:
393393

394394
# Print success message with link
395395
task_def_url = f"{self.configuration.ui_host}/taskDef/{task_name}"
396-
logger.info(f"✓ Registered/Updated task definition: {task_name} with {task_def.to_dict()}")
396+
logger.debug(f"✓ Registered/Updated task definition: {task_name} with {task_def.to_dict()}")
397397
logger.debug(f" View at: {task_def_url}")
398398

399399
if input_schema_name or output_schema_name:

src/conductor/client/automator/task_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def __register_task_definition(self) -> None:
217217
schema_client = OrkesSchemaClient(self.configuration)
218218
except Exception as e:
219219
# Schema client not available (server doesn't support schemas)
220-
logger.warning(f"⚠ Schema registry not available on server - task will be registered without schemas")
220+
logger.debug(f"⚠ Schema registry not available on server - task will be registered without schemas")
221221
logger.debug(f" Error: {e}")
222222
schema_registry_available = False
223223
schema_client = None
@@ -242,7 +242,7 @@ def __register_task_definition(self) -> None:
242242
except Exception as e:
243243
# Check if this is a 404 (API endpoint doesn't exist on server)
244244
if hasattr(e, 'status') and e.status == 404:
245-
logger.warning(f"⚠ Schema registry API not available on server (404) - task will be registered without schemas")
245+
logger.debug(f"⚠ Schema registry API not available on server (404) - task will be registered without schemas")
246246
schema_registry_available = False
247247
input_schema_name = None
248248
else:
@@ -267,7 +267,7 @@ def __register_task_definition(self) -> None:
267267
except Exception as e:
268268
# Check if this is a 404 (API endpoint doesn't exist on server)
269269
if hasattr(e, 'status') and e.status == 404:
270-
logger.warning(f"⚠ Schema registry API not available on server (404)")
270+
logger.debug(f"⚠ Schema registry API not available on server (404)")
271271
schema_registry_available = False
272272
else:
273273
# Other error - log and continue without this schema
@@ -362,7 +362,7 @@ def __register_task_definition(self) -> None:
362362

363363
# Print success message with link
364364
task_def_url = f"{self.configuration.ui_host}/taskDef/{task_name}"
365-
logger.info(f"✓ Registered/Updated task definition: {task_name} with {task_def.to_dict()}")
365+
logger.debug(f"✓ Registered/Updated task definition: {task_name} with {task_def.to_dict()}")
366366
logger.debug(f" View at: {task_def_url}")
367367

368368
if input_schema_name or output_schema_name:

0 commit comments

Comments
 (0)