logdna / logdna/ruby

Rails 7: NoMethodError (undefined method `silence' for Logdna::Ruby

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
19
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm getting this error on Rails 7.0.2.3, Ruby 3.0.3:
image

My config/environments/production.rb file contains this line:
`config.logger = Logdna::Ruby.new(Rails.application.credentials.dig(:logdna, :secret))`

Contributor guide

Open the contributing guide

Research direction

Start with the Rails 7 configuration shown in config/environments/production.rb and the Logdna::Ruby.new(...) entry point, then reproduce the NoMethodError on Rails 7.0.2.3 with Ruby 3.0.3. Trace the logger integration around the missing silence method; done means the configuration works without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
observability-sre
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.