Skip to content

Commit

Permalink
correctly hide debug logs (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom authored Apr 29, 2024
1 parent c275775 commit ee2aec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livekit-rtc/livekit/rtc/_ffi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def ffi_event_callback(

if level == logging.DEBUG and not rtc_debug:
# ignore the rtc debug logs by default
if record.target in ("libwebrtc", "livekit"):
if record.target == "libwebrtc" or record.target.startswith("livekit"):
continue

if level is not None:
Expand Down

0 comments on commit ee2aec2

Please sign in to comment.