Rails 7: NoMethodError (undefined method `silence' for Logdna::Ruby
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rails, ruby
- Domain
- observability-sre
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.
Description
Hi,
I'm getting this error on Rails 7.0.2.3, Ruby 3.0.3:

My config/environments/production.rb file contains this line:
config.logger = Logdna::Ruby.new(Rails.application.credentials.dig(:logdna, :secret))
- Dominant language
- Ruby
- Stars
- 19
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logdna/ruby
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TheOdinProject/curriculum#31417 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
glossarist/glossarist-ruby#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·