Skip to content

Commit 553f67d

Browse files
committed
start with a couple of more logs
1 parent b1ca464 commit 553f67d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/livekit/useLivekit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export function useLivekit(
131131
// @livekit/components-react. JSON.stringify() is used in deps of a
132132
// useEffect() with an argument that references itself, if E2EE is enabled
133133
const room = useMemo(() => {
134+
logger.info("[LivekitRooms] Create LiveKit room with options", roomOptions);
134135
const r = new Room(roomOptions);
135136
r.setE2EEEnabled(e2eeSystem.kind !== E2eeType.NONE).catch((e) => {
136137
logger.error("Failed to set E2EE enabled on room", e);

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ window.setLKLogLevel = setLKLogLevel;
2929
initRageshake().catch((e) => {
3030
logger.error("Failed to initialize rageshake", e);
3131
});
32-
setLKLogLevel("warn");
32+
setLKLogLevel("debug");
3333
setLKLogExtension((level, msg, context) => {
3434
// we pass a synthetic logger name of "livekit" to the rageshake to make it easier to read
3535
global.mx_rage_logger.log(level, "livekit", msg, context);

0 commit comments

Comments
 (0)