Groovy, I shall give it a go.
Cheers
Jeff
On 24/09/12 05:25, Aaron Patterson wrote:
On Wed, Sep 19, 2012 at 11:00:32AM -0700, Brian Durand wrote:
I've also just found a use case where I'd like to unsubscribe the default
subscribers. I'd like to turn on INFO level logging for my application to
get some better visibility into the running production application.
However, the application gets a ton of traffic (100's of requests/second)
and with the default subscribers the logs will fill up with gigabytes of
data in a matter of minutes.
What I think would make sense is to remove the static subscribe code from
the LogSubscriber classes and instead have it be application config option
and simply have the default subscribers be configured by default.
This makes sense to me. I think it would deal with Jeffrey's use case
as well. Can you put together a patch and we can discuss on a PR?
--
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.