Reduce verbosity of log files

Whenever there’s a ruby error (even just a syntax error) in my
controller (or anywhere else for that matter) my development.log gets
filled with a massive ActiveXXX stack trace where the first 2 or 3
lines contain all the info I need. Where is that configurable?

ActiveRecord::Base.logger = nil

ActionController::Base.logger = nil

At the end of your config/environment.rb

I don’t see why you had to post three separate times either.

On Dec 12, 2007 1:06 PM, Pito [email protected] wrote:

Whenever there’s a ruby error (even just a syntax error) in my
controller (or anywhere else for that matter) my development.log gets
filled with a massive ActiveXXX stack trace where the first 2 or 3
lines contain all the info I need. Where is that configurable?


Ryan B.
http://www.frozenplague.net

Thanks…The reason for the separate posts is because it’s useful to
keep different questions separate - it’s easier for people who might
want to answer.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs