Add logging for outgoing http requests
This commit is contained in:
parent
b36197c307
commit
4909bbf415
4 changed files with 8 additions and 3 deletions
3
config/initializers/httplog.rb
Normal file
3
config/initializers/httplog.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
HttpLog.options[:logger] = Rails.logger
|
||||
HttpLog.options[:color] = { color: :yellow }
|
||||
HttpLog.options[:compact_log] = true
|
Loading…
Add table
Add a link
Reference in a new issue