jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.85k stars 6.68k forks source link

Cannot Disable Logs #14938

Open samueleastdev opened 1 month ago

samueleastdev commented 1 month ago

What happened?

I have read the implementation here - https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe/

And viewed the config.js and from what I can tell you disable logs like this.

https://github.com/jitsi/jitsi-meet/blob/3a40b52832373668e03011aaf0f1338e0a9b341c/config.js#L1136

const domain = 'meet.jit.si'
      const options = {
        roomName: 'PickAnAppropriateMeetingNameHere',
        width: 640,
        height: 480,
        configOverwrite: {
          apiLogLevels: ['error'],
        },
        parentNode: document.querySelector('#video'),
      }

      const api = new JitsiMeetExternalAPI(domain, options)

I am still seeing loads of logs in the console.

(TIME) index.html loaded:    859.1999999880791
PersistenceRegistry.ts:63 2024-07-23T10:15:39.081Z [features/base/redux] <Object.persistState>:  redux state persisted. 8a822aea98c2874190510006d58f7168 -> 6cadac8206908f3c5a4e89dd85aca8e0
middleware.any.ts:46 2024-07-23T10:15:39.085Z [features/base/sounds] PLAY_SOUND: no sound found for id: 
functions.any.ts:117 2024-07-23T10:15:39.151Z [features/base/config] Extending config with: {"apiLogLevels":["error"]}
ChromeExtensionBanner.web.tsx:64 2024-07-23T10:15:39.154Z [features/chrome-banner] <hJ.componentDidUpdate>:  Chrome extension URL found.
ChromeExtensionBanner.web.tsx:67 2024-07-23T10:15:39.155Z [features/chrome-banner] <hJ.componentDidUpdate>:  Chrome extension(s) info found.
JitsiMeetJS.ts:142 2024-07-23T10:15:39.163Z [JitsiMeetJS.ts] <Object.init>:  This appears to be chrome, ver: 126.0.0.0
LocalStatsCollector.js:175 2024-07-23T10:15:39.168Z [modules/statistics/LocalStatsCollector.js] <wi.connectAudioContext>:  Connecting audio context

Platform

Browser / app / sdk version

Latest from https://meet.jit.si/external_api.js

Relevant log output

No response

Reproducibility

More details?

No response

samueleastdev commented 1 month ago

Same issue here - https://github.com/jitsi/jitsi-meet/issues/10962