remove debug logs

This commit is contained in:
restrry 2021-10-12 16:56:12 +02:00
parent 464b3e2daf
commit 2b4ff4b3fa

View file

@ -16,8 +16,7 @@ export const initApm = (
) => {
const apmConfigLoader = loadConfiguration(argv, rootDir, isDistributable);
const apmConfig = apmConfigLoader.getConfig(serviceName);
// eslint-disable-next-line no-console
console.log('>>>apmConfig', serviceName, apmConfig);
// we want to only load the module when effectively used
// eslint-disable-next-line @typescript-eslint/no-var-requires
const apm = require('elastic-apm-node');
@ -37,6 +36,4 @@ export const initApm = (
});
apm.start(apmConfig);
// eslint-disable-next-line no-console
console.log('>>> in init APM', serviceName, apm.isStarted());
};