Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

logging: disable caller info globally

Saúl Ibarra Corretgé02e058370e5b
diff --git a/react/features/base/logging/middleware.js b/react/features/base/logging/middleware.js
index 6aad5e7fb3..6fbf4e2fc4 100644
--- a/react/features/base/logging/middleware.js
+++ b/react/features/base/logging/middleware.js
@@ -163,6 +163,12 @@ function _initLogging({ dispatch, getState }, loggingConfig, isTestingEnabled) {
logCollector.stop();
dispatch(setLogCollector(undefined));
}
+
+ // Disable caller function info.
+ if (navigator.product === 'ReactNative') {
+ Logger.setGlobalOptions({ disableCallerInfo: true });
+ JitsiMeetJS.setGlobalLogOptions({ disableCallerInfo: true });
+ }
}
/**