diff options
author | Ian Ownbey <ian@inspir.es> | 2009-01-31 14:18:08 -0800 |
---|---|---|
committer | Ian Ownbey <ian@inspir.es> | 2009-01-31 14:18:08 -0800 |
commit | fa82e8e3fb52e0107163e57a705cc652f276e1ab (patch) | |
tree | 8bf4e995294379699cefec179a77f711d079ad2b /lib/mongrel/cgi.rb | |
parent | dda58fa2d58c4ab2bda0a9580841e3c4e09bb30c (diff) | |
parent | cb3b9862a5fef4f3fd197e0319bbea0de562f9da (diff) | |
download | unicorn-fa82e8e3fb52e0107163e57a705cc652f276e1ab.tar.gz |
* 'master' of git@github.com:fauna/mongrel: Merge pivotal code. Moving toward using a logger instead of dumping to STDERR all over the place. TODO been did. No commands.
Diffstat (limited to 'lib/mongrel/cgi.rb')
-rw-r--r-- | lib/mongrel/cgi.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mongrel/cgi.rb b/lib/mongrel/cgi.rb index 3957611..ed6fcf0 100644 --- a/lib/mongrel/cgi.rb +++ b/lib/mongrel/cgi.rb @@ -173,9 +173,8 @@ module Mongrel # The stdoutput should be completely bypassed but we'll drop a warning just in case def stdoutput - STDERR.puts "WARNING: Your program is doing something not expected. Please tell Zed that stdoutput was used and what software you are running. Thanks." + Mongrel.logger.warn "WARNING: Your program is doing something not expected. Please tell Zed that stdoutput was used and what software you are running. Thanks." @response.body - end - + end end end |