aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/helloworld/greeter_server_with_reflection.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/helloworld/greeter_server_with_reflection.py')
-rw-r--r--examples/python/helloworld/greeter_server_with_reflection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/helloworld/greeter_server_with_reflection.py b/examples/python/helloworld/greeter_server_with_reflection.py
index 5ba8782dfc..5acedbcb71 100644
--- a/examples/python/helloworld/greeter_server_with_reflection.py
+++ b/examples/python/helloworld/greeter_server_with_reflection.py
@@ -15,6 +15,7 @@
from concurrent import futures
import time
+import logging
import grpc
from grpc_reflection.v1alpha import reflection
@@ -49,4 +50,5 @@ def serve():
if __name__ == '__main__':
+ logging.basicConfig()
serve()