New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails logger tagged error #6258
Comments
As the bug template notes, please include the full backtrace as that is essential to debug the issue. |
|
I think if you're going to replace Sidekiq's default logger with a custom logger, you'll need to ensure that all of the logging infrastructure supports that custom logger. It looks like Rails requires some custom tagging support in 7.1 which Sidekiq's JSON formatter does not (yet?) support. I don't know how best to fix this. Perhaps one of the Rails team can advise me on the best approach. Is there a Module I can include in Sidekiq's railtie? |
Hello,
I recently updated my Sidekiq version from 6.x to 7.2.2 and my jobs are failing to process because of a custom
Rails.logger.tagged
I have in my in one of my jobs i.e.
Error is
NoMethodError: undefined method
tagged' for #<Sidekiq::Logger::Formatters::JSON`This is my Sidekiq configuration
Am I missing something here?
Ruby version: 3.2.2
Rails version: 7.1
Sidekiq / Pro / Enterprise version(s): 7.2.2
The text was updated successfully, but these errors were encountered: