Skip to content

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

fix(JitsiMeetLogStorage): do not log whole message

paweldomas3b6e34e96b37
diff --git a/react/features/base/logging/JitsiMeetLogStorage.js b/react/features/base/logging/JitsiMeetLogStorage.js
index ff952c95dc..adaf505278 100644
--- a/react/features/base/logging/JitsiMeetLogStorage.js
+++ b/react/features/base/logging/JitsiMeetLogStorage.js
@@ -81,10 +81,10 @@ export default class JitsiMeetLogStorage {
try {
conference.sendApplicationLog(logMessage);
} catch (error) {
- // FIXME whole objects logged
// NOTE console is intentional here
console.error(
- 'Failed to store the logs: ', logMessage, error);
+ `Failed to store the logs, msg length: ${logMessage.length}`
+ + `error: ${JSON.stringify(error)}`);
}
}
}