Updated logs to use debug rather than info

no-issue

This reduces noise in moleculer logs
This commit is contained in:
Fabien O'Carroll 2020-04-16 15:57:55 +02:00
parent 2802e1eb03
commit 299be9cc2e

View File

@ -60,7 +60,7 @@ async function createServiceProxy(ctx, serviceName) {
}).map(action => action.action.rawName);
return serviceMethods.reduce((serviceProxy, methodName) => {
ctx.broker.logger.info(`Creating proxy ${serviceName}.${methodName}`);
ctx.broker.logger.debug(`Creating proxy ${serviceName}.${methodName}`);
return Object.assign(serviceProxy, {
[methodName]: proxy(ctx, serviceName, methodName)
});