search for: turn_logging_off

Displaying 1 result from an estimated 1 matches for "turn_logging_off".

2007 Dec 12
0
I'd like to turn off logging for a particular controller
...got one controller whose log messages I''d like to not see. I''ve tried to an number of different techniques, but I cannot find the correct syntax for using Logger::silence. here''s what I''d like to do: def my_controller < ApplicationController before_filter :turn_logging_off after_filter :return_logging_back_to_normal def turn_logging_off ??? end def return_logging_back_to_normal ??? end end I can''t figure out what to replace the ??? with. Am I thinking about the subject correctly? EB -- Posted via http://www.ruby-forum.com/. --~--~---------~--~--...