Skip to content

Commit ce19e6d

Browse files
jallamsetty1damencho
authored andcommitted
fix(logging) Update the logger ids for default log levels
1 parent b108db8 commit ce19e6d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

react/features/base/logging/reducer.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const DEFAULT_LOGGING_CONFIG: ILoggingConfig = {
1717
loggers: {
1818
// The following are too verbose in their logging with the
1919
// {@link #defaultLogLevel}:
20-
'modules/RTC/TraceablePeerConnection': 'info',
21-
'modules/xmpp/strophe.util': 'log'
20+
'rtc:TraceablePeerConnection': 'info',
21+
'xmpp:strophe.util': 'log'
2222
}
2323
};
2424

@@ -41,10 +41,10 @@ const DEFAULT_STATE = {
4141
// Reduce default verbosity on mobile, it kills performance.
4242
if (navigator.product === 'ReactNative') {
4343
const RN_LOGGERS: { [key: string]: LogLevel; } = {
44-
'modules/sdp/SDPUtil': 'info',
45-
'modules/xmpp/ChatRoom': 'warn',
46-
'modules/xmpp/JingleSessionPC': 'info',
47-
'modules/xmpp/strophe.jingle': 'info'
44+
'sdp:SDPUtils': 'info',
45+
'xmpp:ChatRoom': 'warn',
46+
'xmpp:JingleSessionPC': 'info',
47+
'xmpp:strophe.jingle': 'info'
4848
};
4949

5050
DEFAULT_STATE.config.loggers = {

0 commit comments

Comments
 (0)