Fix MatrixRTC js-sdk logs in rageshakes (#3226)

This commit is contained in:
Timo
2025-04-22 21:24:09 +02:00
committed by GitHub
parent 8fd99ed23e
commit 78a41c09de
3 changed files with 8 additions and 13 deletions

View File

@@ -473,11 +473,6 @@ export async function init(): Promise<void> {
// configure loglevel based loggers:
setLogExtension(logger, global.mx_rage_logger.log);
// these are the child/prefixed loggers we want to capture from js-sdk
// there doesn't seem to be an easy way to capture all children
["MatrixRTCSession", "MatrixRTCSessionManager"].forEach((loggerName) => {
setLogExtension(logger.getChild(loggerName), global.mx_rage_logger.log);
});
// intercept console logging so that we can get matrix_sdk logs:
// this is nasty, but no logging hooks are provided