I swear I posted this a few hours ago but I can''t see it!!! Does anybody know a way to turn off logging for a few LOC/block, a function or even a class? Why would you want to do that? Well we have a script that checks yesterdays logs for errors and then emails the results to us. The emailing processing logs the email sent which means that its contents are then picked up again the next day. Consequently we have an ever increasing log report! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, 10 Sep 2007, George Palmer wrote:> > I swear I posted this a few hours ago but I can''t see it!!! > > Does anybody know a way to turn off logging for a few LOC/block, a > function or even a class?silence {...} doc_root/actionpack-1.13.3/rdoc/index.html Hugh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---