rails_semantic_logger
rails_semantic_logger copied to clipboard
Rails Semantic Logger replaces the Rails default logger with Semantic Logger
### Description of changes In this change I propose to switch from using a custom logger instance `SemanticLogger["ActiveRecord"]` to `::ActiveRecord::Base.logger` when logging events from the `RailsSemanticLogger::ActiveRecord::LogSubscriber`. * Current behaviour is...
### Environment Provide at least: * Ruby Version. 3.3.4 * Rails Version. 7.1.3.4 * Semantic Logger Version. * Rails Semantic Logger Version. 4.15.0->4.17.0 * Other Application/framework names and versions (e.g....
### Context I am working on an application where the email subject contains sensitive information, such as usernames. I have implemented a custom log formatter to redact sensitive information from...
Make it easier to build dashboards using metrics instead of trying to use the log message that could change. By submitting this pull request, I confirm that my contribution is...
### Issue https://github.com/reidmorrison/rails_semantic_logger/issues/237 ### Description of changes Adds SolidQueue as an auto-detected framework. Reading through the Solid Queue docs it says: > Solid Queue's supervisor will fork a separate process...
### Environment Provide at least: * Ruby Version: 3.2.2 * Rails Version: Rails 7.2.1.1 * Semantic Logger Version: 4.16 * Rails Semantic Logger Version: 4.17.0 * Other Application/framework names and...
Since the version 4.15.0 and the introduction of this commit https://github.com/reidmorrison/rails_semantic_logger/commit/c2c77abe7e645e9042b48b4bcf2b9566c045117f, when starting a rails application with rails server, WEBrick is selected as the default server and not puma. Is...
_(If you are trying to create a new project with or upgrade to Rails 8 and having this issue, I have a temporary workaround at the bottom!)_ ### Environment ```...
### Issue https://github.com/reidmorrison/rails_semantic_logger/issues/249 ### Description of changes Don't check only for Rails 7, check for all version after also (Rails 8 and the future ones). I see that on other...
# Description When combining Sidekiq 6.5 with `rails_semantic_logger` getting a deprecation warning from Sidekiq: ``` 2025-05-08 15:04:01.660948 W [2308494:12720 sidekiq.rb:97] Sidekiq -- `config.options[:key] = value` is deprecated, use `config[:key] =...