List Info

Thread: DRYer use of Logger#silence in ActionController: +1's needed




DRYer use of Logger#silence in ActionController: +1's needed
user name
2007-12-26 01:45:38
Hello,

I saw the the code for silencing the logger for the duration
of a
block is duplicated both in Logger (where it SHOULD be,
IMHO) and in
ActionController. This patch fixes it:

http://dev.ru
byonrails.org/ticket/10613

Note my question there regarding other logging systems that
might
break. How can we deal with that?

Thanks,

--
dubek
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-coregooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )