Resolving /dev/null issue with WEBrick on Windows.

This commit is contained in:
Bob Aman 2011-11-16 17:26:03 +03:00
parent cef31d7bca
commit dd5f5c70a7
1 changed files with 2 additions and 2 deletions

View File

@ -365,8 +365,8 @@ HTML
exit(0) exit(0)
else else
$verifier = nil $verifier = nil
# TODO(bobaman): Cross-platform? logger = WEBrick::Log.new
logger = WEBrick::Log.new('/dev/null') logger.level = 0
server = WEBrick::HTTPServer.new( server = WEBrick::HTTPServer.new(
:Port => OAUTH_SERVER_PORT, :Port => OAUTH_SERVER_PORT,
:Logger => logger, :Logger => logger,