Selaa lähdekoodia

fix(logging) Remove logs that are very chatty.

The receiver video constraints that are actually sent to the bridge are logged in LJM and need not be logged in the application.
master
Jaya Allamsetty 4 vuotta sitten
vanhempi
commit
d66f23ca4a

+ 0
- 1
react/features/base/lastn/middleware.js Näytä tiedosto

82
         lastNSelected = 1;
82
         lastNSelected = 1;
83
     }
83
     }
84
 
84
 
85
-    logger.info(`Setting last N to: ${lastNSelected}`);
86
     dispatch(setLastN(lastNSelected));
85
     dispatch(setLastN(lastNSelected));
87
 }, 1000); /* Don't send this more often than once a second. */
86
 }, 1000); /* Don't send this more often than once a second. */
88
 
87
 

+ 0
- 5
react/features/filmstrip/components/web/Thumbnail.js Näytä tiedosto

31
 import { setVolume } from '../../actions.web';
31
 import { setVolume } from '../../actions.web';
32
 import {
32
 import {
33
     DISPLAY_MODE_TO_CLASS_NAME,
33
     DISPLAY_MODE_TO_CLASS_NAME,
34
-    DISPLAY_MODE_TO_STRING,
35
     DISPLAY_VIDEO,
34
     DISPLAY_VIDEO,
36
     DISPLAY_VIDEO_WITH_NAME,
35
     DISPLAY_VIDEO_WITH_NAME,
37
     VIDEO_TEST_EVENTS,
36
     VIDEO_TEST_EVENTS,
38
     SHOW_TOOLBAR_CONTEXT_MENU_AFTER
37
     SHOW_TOOLBAR_CONTEXT_MENU_AFTER
39
 } from '../../constants';
38
 } from '../../constants';
40
 import { isVideoPlayable, computeDisplayMode } from '../../functions';
39
 import { isVideoPlayable, computeDisplayMode } from '../../functions';
41
-import logger from '../../logger';
42
 
40
 
43
 const JitsiTrackEvents = JitsiMeetJS.events.track;
41
 const JitsiTrackEvents = JitsiMeetJS.events.track;
44
 
42
 
333
      */
331
      */
334
     _onDisplayModeChanged() {
332
     _onDisplayModeChanged() {
335
         const input = Thumbnail.getDisplayModeInput(this.props, this.state);
333
         const input = Thumbnail.getDisplayModeInput(this.props, this.state);
336
-        const displayModeString = DISPLAY_MODE_TO_STRING[this.state.displayMode];
337
-        const id = this.props._participant?.id;
338
 
334
 
339
         this._maybeSendScreenSharingIssueEvents(input);
335
         this._maybeSendScreenSharingIssueEvents(input);
340
-        logger.debug(`Displaying ${displayModeString} for ${id}, data: [${JSON.stringify(input)}]`);
341
     }
336
     }
342
 
337
 
343
     /**
338
     /**

+ 0
- 1
react/features/video-quality/subscriber.js Näytä tiedosto

229
         }
229
         }
230
     }
230
     }
231
 
231
 
232
-    logger.info(`Setting receiver video constraints to ${JSON.stringify(receiverConstraints)}`);
233
     try {
232
     try {
234
         conference.setReceiverConstraints(receiverConstraints);
233
         conference.setReceiverConstraints(receiverConstraints);
235
     } catch (error) {
234
     } catch (error) {

Loading…
Peruuta
Tallenna