ruby route_guide server logger is undefined

This commit is contained in:
Stanley Cheung 2015-06-11 16:54:34 -07:00
parent 36fb4c3cb4
commit 7e814077aa
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def main
port = '0.0.0.0:50051' port = '0.0.0.0:50051'
s = GRPC::RpcServer.new s = GRPC::RpcServer.new
s.add_http2_port(port) s.add_http2_port(port)
logger.info("... running insecurely on #{port}") GRPC.logger.info("... running insecurely on #{port}")
s.handle(ServerImpl.new(feature_db)) s.handle(ServerImpl.new(feature_db))
s.run s.run
end end