mirror of https://github.com/OpenVidu/openvidu.git
Change log level from info to debug on possible big logs entries
parent
69fa73c9c0
commit
b1be6e0bd5
|
@ -175,7 +175,7 @@ export class Connection {
|
||||||
this.addStream(stream);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -74,9 +74,9 @@ export abstract class EventDispatcher {
|
||||||
onAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher {
|
onAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher {
|
||||||
const arrowHandler = event => {
|
const arrowHandler = event => {
|
||||||
if (event) {
|
if (event) {
|
||||||
logger.info(message, event);
|
logger.debug(message, event);
|
||||||
} else {
|
} else {
|
||||||
logger.info(message);
|
logger.debug(message);
|
||||||
}
|
}
|
||||||
handler(event);
|
handler(event);
|
||||||
};
|
};
|
||||||
|
|
|
@ -306,7 +306,7 @@ export class StreamManager extends EventDispatcher {
|
||||||
canplayListenerAdded: false
|
canplayListenerAdded: false
|
||||||
});
|
});
|
||||||
|
|
||||||
logger.info('New video element associated to ', this);
|
logger.debug('New video element associated to ', this);
|
||||||
|
|
||||||
return returnNumber;
|
return returnNumber;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue