-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Setting logger: Rails.logger
breaks BroadcastLogger
#1236
Comments
That's strange! I'm having trouble reproducing it. If I go to that line in Rails where the exception is raised, it appears like the The BroadcastLogger was introduced in Rails v7.1, and GoodJob does hook into it: good_job/lib/good_job/log_subscriber.rb Lines 211 to 213 in 131e0cc
Just going logically, I will hypothesize that for some reason |
I have this config for good_job, the rest is the default. The only change from not working to working is updating to Rails 7.1:
|
Could you try removing the |
You're right, removing that fixed the issue, thank you! |
Yay! I'm glad removing that line fixed it for you. I'm going to reopen this because I would like to try to reproduce that and see if I can have it not break because you might not be the only person doing that. |
logger: Rails.logger
breaks BroadcastLogger
When I run:
On Rails 7.1.3 I get this exception:
This works fine if I downgrade back to Rails 7.0.8.
Any ideas?
The text was updated successfully, but these errors were encountered: