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)
else
$verifier = nil
# TODO(bobaman): Cross-platform?
logger = WEBrick::Log.new('/dev/null')
logger = WEBrick::Log.new
logger.level = 0
server = WEBrick::HTTPServer.new(
:Port => OAUTH_SERVER_PORT,
:Logger => logger,