mirror of https://github.com/OpenVidu/openvidu.git
Disable debug logs sending of openvidu-browser
parent
b1be6e0bd5
commit
6fa2487ee0
|
@ -8,7 +8,7 @@ export class OpenViduLogger {
|
|||
private static instance: OpenViduLogger;
|
||||
|
||||
private JSNLOG_URL: string = "/openvidu/elk/openvidu-browser-logs";
|
||||
private MAX_JSNLOG_BATCH_LOG_MESSAGES: number = 50;
|
||||
private MAX_JSNLOG_BATCH_LOG_MESSAGES: number = 100;
|
||||
private MAX_MSECONDS_BATCH_MESSAGES: number = 5000;
|
||||
|
||||
private logger: Console = window.console;
|
||||
|
@ -133,9 +133,6 @@ export class OpenViduLogger {
|
|||
if (!this.isProdMode) {
|
||||
this.LOG_FNS[1].apply(this.logger, arguments);
|
||||
}
|
||||
if (this.isDebugLogEnabled()) {
|
||||
JL().debug(arguments);
|
||||
}
|
||||
}
|
||||
|
||||
info(...args: any[]) {
|
||||
|
|
Loading…
Reference in New Issue