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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails logger configuration #47

Closed
cschiewek opened this issue Feb 4, 2019 · 4 comments
Closed

Rails logger configuration #47

cschiewek opened this issue Feb 4, 2019 · 4 comments

Comments

@cschiewek
Copy link

I'm looking to use agoo with a rails app. The performance is 馃挴 , but I can't get logs outputting. I've looked in the docs and examples on how to get rails logger wired up but I can't find anything.

Could I get some direction on how to wire those up?

@ohler55
Copy link
Owner

ohler55 commented Feb 4, 2019

I have not considered hooking up the rails logger but lets see what can be done.

Agoo::Log has several method for making entries in the Agoo log. If that is what you are looking for then we would just have to hook up the Rails logger so that it calls those methods.

On the other hand, if you want Agoo log entries to appear in a rails log I will have to add a feature to Agoo to support that.

@ohler55
Copy link
Owner

ohler55 commented Feb 5, 2019

I did some checking and it looks like the Rails logger can be set to any instance that supports the Ruby Logger method or possibly inherits from that class.

@ohler55
Copy link
Owner

ohler55 commented Mar 8, 2019

Are you interested in taking this further or should it be closed?

@ohler55
Copy link
Owner

ohler55 commented Jul 13, 2019

Seems like there is no longer interest in this issue. Closing.

@ohler55 ohler55 closed this as completed Jul 13, 2019
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

No branches or pull requests

2 participants