livekit / python-sdks

LiveKit real-time and server SDKs for Python
https://docs.livekit.io
Apache License 2.0
80 stars 26 forks source link

Hide livekit log from room.connect #110

Closed huynguyen-ff closed 8 months ago

huynguyen-ff commented 8 months ago

Hi, for now livekit await room.connect(...) have a lot of logs. However, I can't disable these log because they were logged by external webrtc C library rather than normal python (I guess so). So do we have any environment variable or config that can help us to reduce the log messages. Thanks.

image
theomonnom commented 8 months ago

This will be handled by https://github.com/livekit/python-sdks/pull/105 on the next release

theomonnom commented 8 months ago

Otherwise for now you can export RUST_LOG=livekit=info

huynguyen-ff commented 8 months ago

Thanks for your support, I will wait for the next version together with the docs.