about summary refs log tree commit homepage
path: root/lib/mongrel/cgi.rb
diff options
context:
space:
mode:
authorIan Ownbey <ian@inspir.es>2009-01-31 14:18:08 -0800
committerIan Ownbey <ian@inspir.es>2009-01-31 14:18:08 -0800
commitfa82e8e3fb52e0107163e57a705cc652f276e1ab (patch)
tree8bf4e995294379699cefec179a77f711d079ad2b /lib/mongrel/cgi.rb
parentdda58fa2d58c4ab2bda0a9580841e3c4e09bb30c (diff)
parentcb3b9862a5fef4f3fd197e0319bbea0de562f9da (diff)
downloadunicorn-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.rb5
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