Sfoglia il codice sorgente

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 anni fa
parent
commit
d66f23ca4a

+ 0
- 1
react/features/base/lastn/middleware.js Vedi File

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

+ 0
- 5
react/features/filmstrip/components/web/Thumbnail.js Vedi File

@@ -31,14 +31,12 @@ import { LocalVideoMenuTriggerButton, RemoteVideoMenuTriggerButton } from '../..
31 31
 import { setVolume } from '../../actions.web';
32 32
 import {
33 33
     DISPLAY_MODE_TO_CLASS_NAME,
34
-    DISPLAY_MODE_TO_STRING,
35 34
     DISPLAY_VIDEO,
36 35
     DISPLAY_VIDEO_WITH_NAME,
37 36
     VIDEO_TEST_EVENTS,
38 37
     SHOW_TOOLBAR_CONTEXT_MENU_AFTER
39 38
 } from '../../constants';
40 39
 import { isVideoPlayable, computeDisplayMode } from '../../functions';
41
-import logger from '../../logger';
42 40
 
43 41
 const JitsiTrackEvents = JitsiMeetJS.events.track;
44 42
 
@@ -333,11 +331,8 @@ class Thumbnail extends Component<Props, State> {
333 331
      */
334 332
     _onDisplayModeChanged() {
335 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 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 Vedi File

@@ -229,7 +229,6 @@ function _updateReceiverVideoConstraints({ getState }) {
229 229
         }
230 230
     }
231 231
 
232
-    logger.info(`Setting receiver video constraints to ${JSON.stringify(receiverConstraints)}`);
233 232
     try {
234 233
         conference.setReceiverConstraints(receiverConstraints);
235 234
     } catch (error) {

Loading…
Annulla
Salva