views:

55

answers:

2

I'm in the middle of trying to upgrade a rails project from rails 2.0.2 to rails 2.3.5

In doing so, I've noticed a change that is driving me nuts. It seems that now by default, any queries that are run by the application get logged to the webrick console (I'm working in Eclipse/Aptana). It used to be that webrick would only show requests for pages/images, etc and now its clouded with tons and tons of junk in the form of every query ever run! There must be a way to turn this off, or modify this behavior? Anyone know how?

+1  A: 

Check if RAILS_DEFAULT_LOGGER points to STDOUT or something.

Hemant Kumar
+1  A: 

In your config/environments/development.rb file update the log level:

config.log_level = :info
MattMcKnight