quaint-laptop-92257
07/08/2025, 5:03 PMtall-airline-16756
07/08/2025, 5:04 PMtall-airline-16756
07/08/2025, 5:04 PMsetLogLevel
function with the argument "debug" like this:
setLogLevel("debug")
This will allow your logs to include debug-level details in addition to info and other higher severity levels. This applies both to general SDK usage and React Native SDK.
The available log levels are: "trace", "debug", "info", "warn", "error", and "silent". Setting to "debug" provides more detailed output than "info".
Sources: setLogLevel | LiveKit JS Client SDK - v2.8.1 | setLogLevel | LiveKit React Native Client SDK - v2.5.1 | LogLevel | LiveKit JS Client SDK - v2.8.1quaint-laptop-92257
07/08/2025, 5:07 PMtall-airline-16756
07/08/2025, 5:07 PMpython -m livekit.agents.cli start --log-level DEBUG
This will give you all those juicy, detailed debug logs for the "start" command. And guess what? You've got several logging levels to choose from: DEBUG, INFO, WARNING, ERROR, and CRITICAL. Think of it like turning up the volume on your app's information. Here's a full example to get you started with debug logs:
python -m livekit.agents.cli start --url your_url_here --api-key your_key_here --api-secret your_secret_here --log-level DEBUG
This will show you way more details compared to the default info level. Happy debugging! 🕵️♀️ Sources: livekit.agents.cli.log API documentation