Change log level from info to debug on possible big logs entries

pull/623/head
cruizba 2021-04-29 20:47:21 +02:00
parent 69fa73c9c0
commit b1be6e0bd5
3 changed files with 6 additions and 6 deletions

View File

@ -175,7 +175,7 @@ export class Connection {
this.addStream(stream);
});
logger.info("Remote 'Connection' with 'connectionId' [" + this.connectionId + '] is now configured for receiving Streams with options: ', this.stream!.inboundStreamOpts);
logger.debug("Remote 'Connection' with 'connectionId' [" + this.connectionId + '] is now configured for receiving Streams with options: ', this.stream!.inboundStreamOpts);
}
/**

View File

@ -74,9 +74,9 @@ export abstract class EventDispatcher {
onAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher {
const arrowHandler = event => {
if (event) {
logger.info(message, event);
logger.debug(message, event);
} else {
logger.info(message);
logger.debug(message);
}
handler(event);
};

View File

@ -306,7 +306,7 @@ export class StreamManager extends EventDispatcher {
canplayListenerAdded: false
});
logger.info('New video element associated to ', this);
logger.debug('New video element associated to ', this);
return returnNumber;
}