Describe the bug
I am configuring logger when initializing LaunchDarkly in my node.js application. This is to avoid logs sent to console.error by default. After the configuration, I am observing an extra error log printed 'Received put event'
To reproduce
Configure LaunchDarkly by using the code -
const options: ld.LDOptions = { logger: { error: (...args: never[]) => console.error(...args), warn: (...args: never[]) => console.warn(...args), info: (...args: never[]) => console.info(...args), debug: (...args: never[]) => console.error(...args), }, }; LaunchDarkly.init('sdk-key', options);
This prints the following log messages -
Initializing stream processor to receive feature flag updates Opened LaunchDarkly stream connection Received put event
Expected behavior
There should be two log statements -
Initializing stream processor to receive feature flag updates Opened LaunchDarkly stream connection
Logs
If applicable, add any log output related to your problem.
SDK version
6.4.3
Language version, developer tools
Node.js with TypeScript
OS/platform
AWS Lambda