Ruby on Rails Tuesday, April 27, 2010

I have an action being called by a monitoring service.

Leaving this out of the log is not "inaccurate", anymore than not
logging static files referenced is the public folder is "inaccurate".

Thanks,
Tom

On Apr 27, 2:43 pm, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> TomRossi7 wrote:
> > Does anyone know what the best way to disable logging on a controller
> > or specific action?  I've seen a lot of threads, but no real "best
> > practice"?
>
> Why would you ever want to do this?  An inaccurate log is worse than
> none at all.
>
> What's your use case?
>
> > Thanks,
> > Tom
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
> --
> Posted viahttp://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@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment