Configure OmniAuth to send log to Rails logger
Before this change log generated by OmniAuth was sent to the STDOUT. Now developers will find those gems log within the `app/log` directory as expected.
This commit is contained in:
1
config/initializers/omniauth.rb
Normal file
1
config/initializers/omniauth.rb
Normal file
@@ -0,0 +1 @@
|
||||
OmniAuth.config.logger = Rails.logger
|
||||
Reference in New Issue
Block a user