lograge
lograge copied to clipboard
An attempt to tame Rails' default policy to log everything.
This is a revival of #194 by @clupprich based on the latest master. Devise did implement a fix (https://github.com/heartcombo/devise/pull/4375) for this, but which was quickly reverted (https://github.com/heartcombo/devise/pull/4804). Locally with devise...
Rails 3 support was dropped in 2016 in https://github.com/roidrage/lograge/pull/164
I am unable to filter action cable params. ``` method= path= format= params={"token"=>"...."} controller=ApplicationCable::Connection action=connect status=200 duration=216.54 ``` They come in on the `data` [attribute here](https://github.com/roidrage/lograge/blob/master/lib/lograge/rails_ext/action_cable/connection/base.rb#L15) but don't seem overloadable...
I have custom handle error ``` exception: event.payload[:exception]&.first, exception_object: event.payload[:exception_object], exception_trace: event.payload[:stacktrace] ``` not show on stdout logger , if apps is error
Lograge is great, but I need the log level to reflect whether or not the request is processed successfully. This PR adds `Lograge.map_log_level` (default false). When `map_log_level` is set to...
Some of our dependencies are quite old, namely Logstash and JrJackson (JRuby). From the looks of it, there have been significant changes in API compatibility. Personally, with that in mind,...
Hi @iloveitaly @ivy, Considering rails EOL => https://endoflife.date/rails Should we keep support on 5.2 ? Regards,
I am looking for a way to do something like this, but in ActionCable context : ```ruby # app/controllers/application_controller.rb class ApplicationController < ActionController::Base def append_info_to_payload(payload) super payload[:host] = request.host end...
This PR patches `ActionDispatch::DebugExceptions` to capture those pesky [hard-coded `ActionController::RoutingError` exceptions](https://github.com/rails/rails/blob/fc5dd0b85189811062c85520fd70de8389b55aeb/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#L63-L66) generated by non-route-matching `X-Cascade == 'pass'` responses, re-publishing them to the `ActiveSupport::Notifications` bus where they are cleanly logged by...
I have a Rails application hosted on **Heroku** that ships logs to **ELK** (logz.io). The problem is that, with the default format, **many fields are included in the log message,...