Hello Jason,
I have an ajax function that runs every 2 seconds on my site. As you can imagine this creates quite lengthy logs.
Is there any way to exclude just this particular action from creating entries in the production log?
In your action foo, you can write either :
def foo self.class.silence do # do sth end end
or :
def foo logger.silence do # do sth end end
the latter is the nicer.
-- Jean-François.