the speechmatics plugin is generating a whole lot ...
# ask-ai
c
the speechmatics plugin is generating a whole lot of messages in dev mode, how can I turn those off
t
Thanks for reaching out, Guillaume. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I completely understand how those extra messages from the Speechmatics plugin in development mode can feel overwhelming. To help with that, you can adjust the logging level for the plugin's logger. Here’s a simple way to do it:
Copy code
import logging

# Set the logging level for the Speechmatics plugin
logging.getLogger("livekit.plugins.speechmatics").setLevel(logging.WARNING)

# Optionally, adjust the Speechmatics transport layer logger
logging.getLogger("speechmatics.rt.transport").setLevel(logging.ERROR)
By doing this, you'll reduce the noise by showing only warnings and errors, making your output much cleaner. If you have any questions or want me to walk you through it, just let me know—I’m here to help! Sources: livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/log.py | Voice AI quickstart | LiveKit Docs