dry-rainbow-66344
09/08/2025, 4:37 AM{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 93, "elapsed_time": 0.33, "timestamp": "2025-09-08T04:35:52.163881+00:00"}
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 97, "elapsed_time": 0.32, "timestamp": "2025-09-08T04:35:52.170616+00:00"}
{"message": "registered worker", "level": "INFO", "name": "livekit.agents", "id": "CAW_k9oMXeN3YaTr", "url": "https://voice-agent-101bt5fj.livekit.cloud", "region": "US East B", "protocol": 16, "timestamp": "2025-09-08T04:35:52.221725+00:00"}
{"message": "received job request", "level": "INFO", "name": "livekit.agents", "job_id": "AJ_saoWaoSyu69q", "dispatch_id": "", "room_name": "sbx-2bra0q-i9ZZy2TPe9n2faj4EnixcQ", "agent_name": "", "resuming": false, "timestamp": "2025-09-08T04:35:54.739895+00:00"}
{"message": "initializing process", "level": "INFO", "name": "livekit.agents", "pid": 165, "timestamp": "2025-09-08T04:35:54.839331+00:00"}
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 165, "elapsed_time": 0.33, "timestamp": "2025-09-08T04:35:55.167961+00:00"}
{"message": "EOU metrics", "level": "INFO", "name": "livekit.agents", "room": "sbx-2bra0q-i9ZZy2TPe9n2faj4EnixcQ", "end_of_utterance_delay": 0.68, "transcription_delay": 0.42, "pid": 93, "job_id": "AJ_saoWaoSyu69q", "timestamp": "2025-09-08T04:35:57.501018+00:00"}
{"message": "process is unresponsive, killing process", "level": "ERROR", "name": "livekit.agents", "pid": 93, "job_id": "AJ_saoWaoSyu69q", "timestamp": "2025-09-08T04:36:57.167654+00:00"}
{"message": "killing process", "level": "INFO", "name": "livekit.agents", "pid": 93, "job_id": "AJ_saoWaoSyu69q", "timestamp": "2025-09-08T04:36:57.167832+00:00"}
{"message": "draining worker", "level": "INFO", "name": "livekit.agents", "id": "CAW_k9oMXeN3YaTr", "timeout": 1800, "timestamp": "2025-09-08T04:37:27.027928+00:00"}
{"message": "shutting down worker", "level": "INFO", "name": "livekit.agents", "id": "CAW_k9oMXeN3YaTr", "timestamp": "2025-09-08T04:37:27.028308+00:00"}tall-airline-16756
09/08/2025, 4:38 AMtall-airline-16756
09/08/2025, 4:38 AMdry-rainbow-66344
09/08/2025, 4:39 AMtall-airline-16756
09/08/2025, 4:40 AMpingInterval, pingTimeout, and memoryLimitMB so they better fit your workload and environment.
5. Enable Debug Logging: Turning up the logging detail can help capture more info about timing and the process’s state.
6. Inspect STT Plugin Behavior: If you’re using a specific STT plugin like Google or AWS, check their logs or any reconnection events for extra insights.
If you’d like, I’m here to help you with any of these steps or explain anything further. Just let me know!
Sources: livekit-agents/livekit/agents/ipc/supervised_proc.py | agents/src/voice/audio_recognition.tsdry-rainbow-66344
09/08/2025, 4:41 AMtall-airline-16756
09/08/2025, 4:41 AMimport logging
# Enable debug logs for all LiveKit modules
logging.basicConfig(level=logging.DEBUG)
# Or if you prefer, turn on logging for specific parts only, like:
# logging.getLogger("livekit").setLevel(logging.DEBUG)
# logging.getLogger("livekit.plugins.google").setLevel(logging.DEBUG)
2. Use the right logger names: Each module has its own logger named livekit.plugins.<plugin_name>. So, for example, use livekit.plugins.google for Google STT, or just livekit for the main library.
3. Set environment variables (if that applies): To get debug logs from the native layer, you can set the LIVEKIT_RTC_DEBUG environment variable like this:
LIVEKIT_RTC_DEBUG=1 python your_script.py
If you hit any bumps or want me to walk you through it, just give me a shout—I’m here to help!
Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py | Testing and evaluation | LiveKit Docs | main.py | livekit-rtc/livekit/rtc/_ffi_client.pydry-rainbow-66344
09/08/2025, 4:42 AMtall-airline-16756
09/08/2025, 4:42 AMlogger = logging.getLogger("agent"), you can easily enable debug logs for this specific logger by adding the following snippet to your script:
import logging
# Turn on debug logs for the 'agent' logger
logging.getLogger("agent").setLevel(logging.DEBUG)
# You can also set up how the logs look and where they go
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
This way, all debug-level logs from the 'agent' logger will be captured and shown. If you hit any snags or want to chat more about it, just let me know—I’m here to help!