Hello all.

I find myself in unfamiliar territory by posting to this list but here we go.

I am doing some experimentation regarding logging in JSON formats for integration with systems like LogStash. So far things are reasonably good but there is one thing in rails which is making things a lot harder than they need to be.

At the moment rails has a large number of LogSubscribers such as ActiveRecord::ExplainSubscriber and ActionController::LogSubscriber which are automatically subscribed to the Notifications system.

What I would like to be able to do is stop this automatic subscribing from happening (in effect turning off the rails default logging system).

Currently this is not possible as far as I can tell, it is possible to go through all the various notifications and remove subscribers but this is a pain, is not very granular and is generally a very hack'ish situation.

Now, messing around with the internals of rails is something I do not have a huge amount of experience with so I would like to ask the core members:

1. Before I start would there be any non-technical objections to a pull request to allow for us to disable all the default LogSubscribers? 2. If not would anyone be willing to offer advice / guidance / checking the design as I put this together?

cheers

Jeff




--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to