Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure OmniAuth to send log to Rails logger #5004

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Conversation

Senen
Copy link
Member

@Senen Senen commented Oct 5, 2022

References

Before this change log generated by OmniAuth integration was sent to the STDOUT. Now developers will find the log within the log/{environment}.log directory as expected.

https://github.com/omniauth/omniauth#logging

Objectives

Send the Omniauth log to the Rails application logger so developers can easily find the OmniAuth output when debugging.

Notes

We did some tests in the CONSUL testing server and seems to work fine.

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.
@Senen Senen self-assigned this Oct 5, 2022
@javierm javierm added this to Reviewing in Consul Democracy Oct 5, 2022
Consul Democracy automation moved this from Reviewing to Testing Oct 7, 2022
@taitus taitus self-assigned this Oct 7, 2022
@Senen Senen merged commit 9e0c09e into master Oct 7, 2022
Consul Democracy automation moved this from Testing to Release 1.6.0 Oct 7, 2022
@Senen Senen deleted the omniauth-log branch October 7, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants