2

I want to suppress Rails logging for one particular actions (it's polled by javascript every 2 seconds and I don't need all that output). How do I accomplish this? Rails 3.

1 Answer 1

2
  1. Look here: How to silence the call to a rails controller's action all together and here: How can I disable logging in Ruby on Rails on a per-action basis?

  2. You can look deeper into Rack to optimize your application. If javascript poll returns simple data it will fit perfectly for you

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.