lograge icon indicating copy to clipboard operation
lograge copied to clipboard

An attempt to tame Rails' default policy to log everything.

Results 73 lograge issues
Sort by recently updated
recently updated
newest added

the solution so far can find is to set the logging level to info, but that means at the same time I can't see my debug log anymore, such as...

I want to use lograge to process my last 30 days log entries. As I've multiple instances running my logs are really hard to read, each hit is mixed. Its...

There's a bug in ActionView#public_methods(false) that makes it not returning subscription methods. Using #patterns the log subscribed is asked directly for its supported event names. This becomes evident when using...

I have an endpoint `/health` for health checks. That action receives a lot of requests that are pretty useless in the logs. Now I see that I can use ```...

How to attach Lograge to Action Cable?

When calling `Rails.logger.info "Log message..."` from a new thread, no message is logged. How to make it work with a new thread? Apparently the fix for Rails logger is ensure...

**Context** I am discovering logging in Rails and clearly approve taming Rails logs :) However, I also woud like to track ActiveRecord queries in a queryable manner which led me...

We need to filter this Rails message from our logs (I know what I am doing): ``` Can't verify CSRF token authenticity. ``` I have used this: ``` config.lograge.ignore_custom =...

Rails 4.2 Ruby 2.3.7 ``` # Gemfile ... gem 'lograge' gem 'lograge-tagged' ... # production.rb ... config.lograge.enabled = true config.lograge.formatter = Lograge::Formatters::Logstash.new ... ``` log output: ``` [request.app] method=GET path=/...

Hello I would like to know if it's possible to get the `before_action` that stop the request? Does the key is inside the unsubscribing of `ActiveSupport::Notifications` ? https://github.com/roidrage/lograge/blob/0e1ed0464b4be364498bb4d57ab2ae7c93eb3d59/lib/lograge.rb#L111-L113 Thanks