rb: Turn off debug logging in benchmark/thin_server.rb
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669028 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/benchmark/server.rb b/lib/rb/benchmark/server.rb
index 400c90d..91d42fa 100644
--- a/lib/rb/benchmark/server.rb
+++ b/lib/rb/benchmark/server.rb
@@ -54,6 +54,6 @@
Server.start_server(host, port.to_i, resolve_const(serverklass))
-Marshal.load(STDIN)
+Marshal.load(STDIN) # wait until we're instructed to shut down
Server.shutdown
diff --git a/lib/rb/benchmark/thin_server.rb b/lib/rb/benchmark/thin_server.rb
index 73c5b12..47de7cb 100644
--- a/lib/rb/benchmark/thin_server.rb
+++ b/lib/rb/benchmark/thin_server.rb
@@ -22,5 +22,5 @@
transport = Thrift::ServerSocket.new(HOST, PORT)
transportFactory = Thrift::FramedTransportFactory.new
logger = Logger.new(STDERR)
-logger.level = Logger::DEBUG
+logger.level = Logger::WARN
Thrift::NonblockingServer.new(processor, transport, transportFactory, nil, 20, logger).serve