From 6bcd53d8ca120e6080a8711adcf669c09b3a3e24 Mon Sep 17 00:00:00 2001 From: Abhilash Date: Tue, 17 Dec 2024 20:30:47 +0530 Subject: [PATCH] chore: lint fix --- packages/collector/src/logger.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/collector/src/logger.js b/packages/collector/src/logger.js index 3cff3c5f4..9e9c0bcc2 100644 --- a/packages/collector/src/logger.js +++ b/packages/collector/src/logger.js @@ -18,6 +18,7 @@ try { // @ts-ignore const pino = require('pino'); +// @ts-ignore const { logger } = require('@instana/core'); const pinoToAgentStream = require('./agent/loggerToAgentStream'); @@ -44,6 +45,7 @@ exports.init = function init(config, isReInit) { parentLogger = config.logger; } else { // No custom logger has been provided; create a new pino logger as the parent logger for all loggers + // @ts-ignore parentLogger = pino({ name: '@instana/collector', base: { @@ -67,6 +69,7 @@ exports.init = function init(config, isReInit) { } }; + // @ts-ignore parentLogger = pino( { ...parentLogger.levels,