Forum: Ruby on Rails Silence logging for a particular action

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C4dc94c893471878a105761a9207f29b?d=identicon&s=25 Zack Chandler (Guest)
on 2007-05-01 04:59
(Received via mailing list)
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 at 2007-04-30 19:55:46)
  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?


Zack Chandler
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2007-05-01 05:21
(Received via mailing list)
Hi Zack,

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

A4a3266a04bd8fb9935fa5684e14d6ef?d=identicon&s=25 Dustin Frisell (dustin)
on 2007-05-01 09:27
You could just grep the file with 'ping' and use -v to show the rows
that do not match.
This topic is locked and can not be replied to.