Semantic Logger + Sidekiq 7 #246
Replies: 5 comments
-
Since you are using Sidekiq 7, can you find out how to replace its default logger if it is no longer |
Beta Was this translation helpful? Give feedback.
-
Until we have more info on how to support Sidekiq 7, this commit will turn off built-in logging support for Sidekiq v7, allowing it to be setup manually: reidmorrison/rails_semantic_logger@a64c480 To hazard a guess after pointing to the Rails Semantic Logger master branch, then something like the following would work: Sidekiq.configure_{client,server,embed} do |config|
config.logger = SemanticLogger[Sidekiq]
end |
Beta Was this translation helpful? Give feedback.
-
Confirmed 👍 . Switching to that commit for
to |
Beta Was this translation helpful? Give feedback.
-
Any plans to merge and release this? :) |
Beta Was this translation helpful? Give feedback.
-
This community contributed PR appears to support Sidekiq v7. It has been merged and released. |
Beta Was this translation helpful? Give feedback.
-
Looks like there's a problem with the new Sidekiq 7 logging:
Environment
Ruby 3.1.2
Rails 7.0.4
Puma 5.6.5
rspec-rails 6.0.1
Sidekiq 7.0
config/initializers/semantic_logger.rb:
Expected Behavior
Test suite should run without errors
Actual Behavior
Edit: Mike Perham has commented on the linked issue about what is needed to support Sidekiq 7.
Beta Was this translation helpful? Give feedback.
All reactions