rfc2822/spawn — pull request #2 by lpirl (2012-01-25 16:39:16+00:00)
Title: changed logging strategy

Hi!

I recently changed the logging strategy for a project I join at my university.

*Previously*: log to Rails.logger or - if not set - log to stderr.

*Problem*: If one uses rspec or cucumber for example, the terminal will be flooded(!) with SQL-Queries and other things you normally do not want to see.

*Solution*: use the configured logger (Rails.logger) or throw logs away

I am not a rails hacker so i looked up the pattern
@@object.method("argument") if @@object
in another rails project. Not sure if this is really the way to go :)

Well, have a look at it if you want.

Regards!