From ddc7b626f5c19a16b5099da52263fcb80286752d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= <15726+Senen@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:48:13 +0200 Subject: [PATCH] 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. --- config/initializers/omniauth.rb | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/initializers/omniauth.rb diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb new file mode 100644 index 000000000..550ccdede --- /dev/null +++ b/config/initializers/omniauth.rb @@ -0,0 +1 @@ +OmniAuth.config.logger = Rails.logger