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.
This commit is contained in:
Jaya Allamsetty 2021-09-29 13:28:29 -04:00 committed by Jaya Allamsetty
parent 28904e18f8
commit d66f23ca4a
3 changed files with 0 additions and 7 deletions

View File

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

View File

@ -31,14 +31,12 @@ import { LocalVideoMenuTriggerButton, RemoteVideoMenuTriggerButton } from '../..
import { setVolume } from '../../actions.web'; import { setVolume } from '../../actions.web';
import { import {
DISPLAY_MODE_TO_CLASS_NAME, DISPLAY_MODE_TO_CLASS_NAME,
DISPLAY_MODE_TO_STRING,
DISPLAY_VIDEO, DISPLAY_VIDEO,
DISPLAY_VIDEO_WITH_NAME, DISPLAY_VIDEO_WITH_NAME,
VIDEO_TEST_EVENTS, VIDEO_TEST_EVENTS,
SHOW_TOOLBAR_CONTEXT_MENU_AFTER SHOW_TOOLBAR_CONTEXT_MENU_AFTER
} from '../../constants'; } from '../../constants';
import { isVideoPlayable, computeDisplayMode } from '../../functions'; import { isVideoPlayable, computeDisplayMode } from '../../functions';
import logger from '../../logger';
const JitsiTrackEvents = JitsiMeetJS.events.track; const JitsiTrackEvents = JitsiMeetJS.events.track;
@ -333,11 +331,8 @@ class Thumbnail extends Component<Props, State> {
*/ */
_onDisplayModeChanged() { _onDisplayModeChanged() {
const input = Thumbnail.getDisplayModeInput(this.props, this.state); const input = Thumbnail.getDisplayModeInput(this.props, this.state);
const displayModeString = DISPLAY_MODE_TO_STRING[this.state.displayMode];
const id = this.props._participant?.id;
this._maybeSendScreenSharingIssueEvents(input); this._maybeSendScreenSharingIssueEvents(input);
logger.debug(`Displaying ${displayModeString} for ${id}, data: [${JSON.stringify(input)}]`);
} }
/** /**

View File

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