-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
launchdarkly logging spams rails console #114
Comments
I'm not very familiar with Rails, but it sounds to me like there are two issues here.
|
hi eli |
Hey! |
Was my comment helpful? Should I close the issue? |
It's been three weeks with no update, so I'm closing this issue. Please feel free to reopen it if you have more information or questions. |
…n-templates applying markdown templates and updating repository url references
I see it is doable through the initializer of the client. Good job! Thanks logger = if ENV.fetch('SUPRESS_LAUNCHDARKLY_OUTPUT', false)
::Logger.new($stdout, level: ::Logger::ERROR)
else
Rails.logger
end
launch_darkly_sdk_key = ENV.fetch('LAUNCHDARKLY_SDK_KEY')
ld_client_config = LaunchDarkly::Config.new(logger: logger, diagnostic_opt_out: true)
Rails.configuration.launch_darkly_client = LaunchDarkly::LDClient.new(launch_darkly_sdk_key, ld_client_config) |
You have to hit enter to skip past it
The text was updated successfully, but these errors were encountered: