Skip to content

Commit

Permalink
Remove log source override
Browse files Browse the repository at this point in the history
Issue : BB-518
  • Loading branch information
benzekrimaha committed Sep 4, 2024
1 parent e7d6e10 commit 57d1702
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions lib/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,6 @@ class Config extends EventEmitter {
};
}

// Overwrite logSource if configured
const configuredLogSource = process.env.BACKBEAT_QUEUEPOPULATOR_LOGSOURCE;
if (configuredLogSource) {
parsedConfig.queuePopulator.logSource = configuredLogSource;
}
// Overwrite extension configs if configured
// We can specify the list of extensions that should be handled by this
// instance of the queuePopulator
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lint": "eslint $(git ls-files '*.js')",
"lint_md": "mdlint $(git ls-files '[^bucket-scanner/]*.md')",
"start": "node bin/backbeat.js",
"notification_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=notification BACKBEAT_QUEUEPOPULATOR_LOGSOURCE=kafka node bin/queuePopulator.js",
"notification_populator": "BACKBEAT_QUEUEPOPULATOR_EXTENSIONS=notification node bin/queuePopulator.js",
"notification_processor": "node extensions/notification/queueProcessor/task.js"
},
"repository": {
Expand Down

0 comments on commit 57d1702

Please sign in to comment.