Rails Development Log

open config/environments/development.rb and you'll see instantly how
you can turn off logging :wink:

Oh sorry about that. I thought it would be sticking out like a sore
thumb, but apparently it's not very easy to turn off logging. You can
turn it down.

Here's a hack I came up with that seems to work on my machine, but I
don't know if I'd put this into production. Add this line to the
environment file you want to turn off logging for:

  config.logger = Object.new.instance_eval { def method_missing(*m);
end; self }

It sets the logger to a dead, do nothing object. Setting logger to
nil and just a plain old Object.new don't work -- this one does
though...