diff --git a/lib/bindConnectors/bindMessage.js b/lib/bindConnectors/bindMessage.js index ba905c5..f029a21 100644 --- a/lib/bindConnectors/bindMessage.js +++ b/lib/bindConnectors/bindMessage.js @@ -81,7 +81,7 @@ module.exports = function (message, threadneedle, connectorConfig, dependenciesL falafel.logger.error( error, { - connectorName: connectorConfig.name, + connectorName, connectorVersion: connectorConfig.version, operation: event.header.message, workflowId: event.id, diff --git a/lib/monitoring/logger/index.js b/lib/monitoring/logger/index.js index 2fe6296..8c12d5c 100644 --- a/lib/monitoring/logger/index.js +++ b/lib/monitoring/logger/index.js @@ -1,7 +1,7 @@ const { initLogger } = require('./loggerWrapper'); const initDependencies = async (apiKey) => { - const logVersion = 'v1'; + const logVersion = 'v2'; if (process.env.FALAFEL_ENABLE_LOGGING !== 'true') { return undefined; }