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 Chandler
http://depixelate.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
-~----------~----~----~----~------~----~------~--~---
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 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 -~----------~----~----~----~------~----~------~--~---
You could just grep the file with ''ping'' and use -v to show the rows that do not match. -- 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 -~----------~----~----~----~------~----~------~--~---