Skip to content

Commit cb48e21

Browse files
authored
Reduce RT logging in Voice SDK (#72)
## What's Changed - Lowered logging of the RT AsyncClient to reduce debug noise - Bumped ORT / ONNX runtime dependency requirement
1 parent 3a247b0 commit cb48e21

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

sdk/voice/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ keywords = [
4141
[project.optional-dependencies]
4242
smart = [
4343
"certifi>=2025.10.5",
44-
"onnxruntime>=1.19.0,<2",
44+
"onnxruntime>=1.20.1,<2",
4545
"transformers>=4.57.0,<5",
4646
]
4747
dev = [

sdk/voice/speechmatics/voice/_logging.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def get_logger(name: str) -> logging.Logger:
4646
# Or for specific components:
4747
logging.getLogger('speechmatics.batch').setLevel(logging.DEBUG)
4848
"""
49+
50+
# Lower RT logging to INFO to reduce noise
51+
logging.getLogger("speechmatics.rt").setLevel(logging.INFO)
52+
53+
# Logging for Voice SDK
4954
module_logger = logging.getLogger(name)
5055
module_logger.addHandler(logging.NullHandler())
5156
return module_logger

0 commit comments

Comments
 (0)