Sha256: 26277538571fe3f0a0824912ef7c13344e443f1f6321c3eb181a9c8a8c1b22a2
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
Rails.application.configure do if Rails.env.production? config.lograge.enabled = true config.log_tags = [:uuid, :remote_ip] config.lograge.formatter = Lograge::Formatters::Json.new config.lograge.custom_options = lambda do |event| params = event.payload[:params].reject do |k| %w(controller action).include? k end { 'params' => params } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kratos-1.1.0 | templates/lograge.rb |