diff --git a/logging_config.js b/logging_config.js index 7a6065bef..0e0b9fdaa 100644 --- a/logging_config.js +++ b/logging_config.js @@ -1,5 +1,7 @@ /* eslint-disable no-unused-vars, no-var */ // Logging configuration +// XXX When making any changes to this file make sure to also update it's React +// version at ./react/features/base/logging/reducer.js !!! var loggingConfig = { // default log level for the app and lib-jitsi-meet defaultLogLevel: 'trace', @@ -7,9 +9,10 @@ var loggingConfig = { // Option to disable LogCollector (which stores the logs on CallStats) // disableLogCollector: true, - // Logging level adjustments for verbose modules: - 'modules/xmpp/strophe.util.js': 'log', + // The following are too verbose in their logging with the + // {@link #defaultLogLevel}: 'modules/statistics/CallStats.js': 'info', + 'modules/xmpp/strophe.util.js': 'log', 'modules/RTC/TraceablePeerConnection.js': 'info' }; diff --git a/react/features/base/logging/reducer.js b/react/features/base/logging/reducer.js index 7073d3440..e408661bd 100644 --- a/react/features/base/logging/reducer.js +++ b/react/features/base/logging/reducer.js @@ -5,6 +5,9 @@ import { SET_LOGGING_CONFIG } from './actionTypes'; /** * The initial state of the feature base/logging. * + * XXX When making any changes to the INITIAL_STATE make sure to also update + * logging_config.js file located in the root directory of this project !!! + * * @type {{ * config: Object * }} @@ -16,7 +19,8 @@ const INITIAL_STATE = { // The following are too verbose in their logging with the // {@link #defaultLogLevel}: 'modules/statistics/CallStats.js': 'info', - 'modules/xmpp/strophe.util.js': 'log' + 'modules/xmpp/strophe.util.js': 'log', + 'modules/RTC/TraceablePeerConnection.js': 'info' } };