You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not very familiar with Rails, but it sounds to me like there are two issues here.
You're getting more log output than you want. The SDK uses the standard Rails.logger, and the particular message you copied is logged at debug level. So if you set Rails.logger.level to :info, :warn, or :error, the debug messages won't appear.
Log messages are appearing in the Rails console and this requires you to hit Enter. I don't know why that happens, but again we're using a standard Rails logging mechanism so I wouldn't expect this behavior to be specific to our SDK. You should be able to redirect the logger to a file, if that's what you prefer.
Activity
eli-darkly commentedon Jan 3, 2019
I'm not very familiar with Rails, but it sounds to me like there are two issues here.
You're getting more log output than you want. The SDK uses the standard
Rails.logger, and the particular message you copied is logged at debug level. So if you setRails.logger.levelto:info,:warn, or:error, the debug messages won't appear.Log messages are appearing in the Rails console and this requires you to hit Enter. I don't know why that happens, but again we're using a standard Rails logging mechanism so I wouldn't expect this behavior to be specific to our SDK. You should be able to redirect the logger to a file, if that's what you prefer.
AndrewRayCode commentedon Jan 4, 2019
hi eli
eli-darkly commentedon Jan 4, 2019
Hey!
eli-darkly commentedon Jan 7, 2019
Was my comment helpful? Should I close the issue?
eli-darkly commentedon Jan 29, 2019
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.
Merge pull request #114 from launchdarkly/bw/ch36771/applying-markdow…
camilohollanda commentedon Jun 3, 2024
It would be nice to be able to choose a logger or at least the log level for the LD logger instance.I see it is doable through the initializer of the client. Good job! Thanks