From f548b46672e6a64d4e548dc146f41b260a792594 Mon Sep 17 00:00:00 2001 From: Maxim Khlobystov Date: Thu, 6 Dec 2018 12:26:08 -0500 Subject: [PATCH] Improve the client logs appearing on user join/subscription --- bigbluebutton-html5/imports/startup/client/base.jsx | 2 +- bigbluebutton-html5/imports/ui/components/app/component.jsx | 3 +++ bigbluebutton-html5/imports/ui/components/app/container.jsx | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/startup/client/base.jsx b/bigbluebutton-html5/imports/startup/client/base.jsx index e5da55a01d..467a05981d 100755 --- a/bigbluebutton-html5/imports/startup/client/base.jsx +++ b/bigbluebutton-html5/imports/startup/client/base.jsx @@ -82,7 +82,7 @@ class Base extends Component { // this.props.annotationsHandler.stop(); if (subscriptionsReady) { - logger.info('Client loaded successfully'); + logger.info('Subscriptions are ready'); } return (); diff --git a/bigbluebutton-html5/imports/ui/components/app/component.jsx b/bigbluebutton-html5/imports/ui/components/app/component.jsx index bada062b60..b43d5e864b 100755 --- a/bigbluebutton-html5/imports/ui/components/app/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/app/component.jsx @@ -9,6 +9,7 @@ import browser from 'browser-detect'; import BreakoutRoomContainer from '/imports/ui/components/breakout-room/container'; import PollingContainer from '/imports/ui/components/polling/container'; import PollContainer from '/imports/ui/components/poll/container'; +import logger from '/imports/startup/client/logger'; import ToastContainer from '../toast/container'; import ModalContainer from '../modal/container'; import NotificationsBarContainer from '../notifications-bar/container'; @@ -95,6 +96,8 @@ class App extends Component { this.handleWindowResize(); window.addEventListener('resize', this.handleWindowResize, false); + + logger.info('Client loaded successfully'); } componentWillUnmount() { diff --git a/bigbluebutton-html5/imports/ui/components/app/container.jsx b/bigbluebutton-html5/imports/ui/components/app/container.jsx index 748cb89be8..7abf5d55bd 100755 --- a/bigbluebutton-html5/imports/ui/components/app/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/app/container.jsx @@ -6,7 +6,6 @@ import Auth from '/imports/ui/services/auth'; import Users from '/imports/api/users'; import Breakouts from '/imports/api/breakouts'; import Meetings from '/imports/api/meetings'; -import logger from '/imports/startup/client/logger'; import ClosedCaptionsContainer from '/imports/ui/components/closed-captions/container'; import getFromUserSettings from '/imports/ui/services/users-settings'; @@ -77,8 +76,6 @@ export default injectIntl(withModalMounter(withTracker(({ intl, baseControls }) baseControls.updateLoadingState(intl.formatMessage(intlMessages.waitingApprovalMessage)); } - logger.info('User joined meeting and subscribed to data successfully'); - // Check if user is removed out of the session Users.find({ userId: Auth.userID }).observeChanges({ changed(id, fields) {