Silence logging for a particular action

Anyone know how to silence logging of a particular Rails action?

I have monit setup to ping a “/ping” route and the action just renders
some quick text. The problem is I get:

Processing SiteController#ping (for 127.0.0.1 at 2007-04-30 19:55:46)
[GET]
Session ID: 78f1e1aa5c7ddb194565ee79950de618
Parameters: {“action”=>“ping”, “controller”=>“site”}
Completed in 0.00019 (5159 reqs/sec) | Rendering: 0.00006 (28%) | DB:
0.00000 (0%) | 200 OK [http:// /ping]

all over my log files every time monit does it’s business…

Any ideas?

Thanks,


Zack C.
http://depixelate.com

Hi Zack,

Does filter_parameter_logging not work with monit for some reason? Or
are
you saying you want to silence the logging of the entire
request/response
cycle for just this request? Or something else …?

Bill

You could just grep the file with ‘ping’ and use -v to show the rows
that do not match.