-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Incompatible with Rails 7.1 #207
Comments
a recent (unreleased) patch in rails may resolve the issue: rails/rails#49621 gem "rails", git: "https://github.com/rails/rails.git", branch: "7-1-stable" |
Regrettably, it does not resolve the issue. An update to rails_semantic_logger may also fix the problem, tracked by this bug. |
@reidmorrison I'm tracking this issue for some weeks, and I've noticed a lack of interaction with this and semantic rails logger. I understand that this is OS and there isn't anything guaranteed, but are you still aiming to actively maintain the project? |
|
Not this issue specifically, but I just upgraded to
|
Rails 7.1.2 fixed one compatibility issue and broke another. See #200 |
Rails Semantic Logger v4.14.0 has been published with support for Rails v7.1.2, thanks to #200 |
I am getting this error:
I have this in my class definition:
And doing this in my class method:
Any ideas? I'm using:
It works fine downgrading to Rails 7.0.8 |
Any ideas please? - still happening now. Is Semantic Logger not supported on Rails 7.1? |
Turns out my issue was entirely unrelated to semantic_logger and in fact it was me setting the good_job logger to Rails.logger. Removing that fixed the problem. Apologies for the false alarm. Semantic logger is working correctly for me with Rails 7.1 |
Trying to understand why most of the documented settings are having no effect, or an unexpected effect. Some examples:
|
Probably relevant to this still open issue in Rails 7.1 between tagged logging, log silencer, and broadcast logging: |
The ActionController::Base.logger = SemanticLogger["ActionController"]
ActiveRecord::Base.logger = SemanticLogger["ActiveRecord"]
ActionMailer::Base.logger = SemanticLogger["ActionMailer"]
Sidekiq.logger = SemanticLogger["Sidekiq"]
Rails.logger = SemanticLogger["APP"] |
Rails 7.1 introduced new Broadcast logging, including a
.broadcast_to
command which SemanticLogger doesn't seem to appreciate much.Environment
Expected Behavior
rails c
and get a consoleActual Behavior
The text was updated successfully, but these errors were encountered: