lograge
lograge copied to clipboard
An attempt to tame Rails' default policy to log everything.
Found via `typos --format brief`
Just wanted to draw the project's attention to this suggestion from @KJTsanaktsidis: https://github.com/rails/rails/pull/51053#issuecomment-1940037416
My lograge configuration look as below ``` config.lograge.enabled = true config.lograge.base_controller_class = ['ActionController::Base'] config.lograge.formatter = Lograge::Formatters::Logstash.new ``` But whenever i use `Rails.logger.info("this is my log string")`, in log files it...
Fixes #385 Assumes that a built-in subscriber is nested under the component namespace, so under ActionView or ActionController.
Not sure if this has been considered, but what about: ``` ActiveSupport::Notifications.notifier = ActiveSupport::Notifications::Fanout.new ``` This clears out all subscriptions and is probably faster and more robust than the existing...
Rails 7.1.1, lograge 0.14.0 In the dev environment, with lograge enabled and `config.lograge.keep_original_rails_log = true`, I see the following, which is expected: ``` 22:24:44 web.1 | Started GET "/widgets" for...
# Background After this Rails change https://github.com/rails/rails/commit/9c58a54702b038b9acebdb3efa85c26156ff1987 (included in 7.1+) some `ActionView::LogSubscriber`-generated logs have been split out into a separate `ActionView::LogSubscriber::Start` subscriber. Unfortunately, this breaks lograge's unsubscription code invoked here:...
This PR fix to the following to fix the build * Don't ruby Rails edge test with old Rubies * Ref: https://github.com/rails/rails/pull/50491 * Fix Rubocop offences CI against Ruby Edge...
This PR adds Ruby 3.3 to the CI matrix to confirm `lograge` working with Ruby 3.3.
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. Release notes Sourced from github/codeql-action's releases. CodeQL Bundle v2.15.5 Bundles CodeQL CLI v2.15.5 (changelog, release) Includes the following CodeQL language packs from github/codeql@codeql-cli/v2.15.5: codeql/cpp-queries...