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
The available log levels are: :debug, :info, :warn, :error, :fatal, and :unknown, corresponding to the log level numbers from 0 up to 5, respectively. […]
It seems like the logdna gem is conflating log_level and level:
I recently tried upgrading to Rails 7.1, but this gem seems to be causing an error:
The issue does not occur after removing the
logdna
gem from my app.I believe the issue is caused by
Rails.logger.level
returning a string (e.g.INFO
) whereas Rails expects it to be an integer. See the Rails docs here: https://guides.rubyonrails.org/v7.1/debugging_rails_applications.html#log-levelsIt seems like the logdna gem is conflating
log_level
andlevel
:ruby/lib/logdna.rb
Lines 57 to 68 in 9d33a2f
Full stack trace:
The text was updated successfully, but these errors were encountered: