aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/interceptors/headers/greeter_client.py
diff options
context:
space:
mode:
authorGravatar Lidi Zheng <lidiz@google.com>2018-11-28 11:05:09 -0800
committerGravatar Lidi Zheng <lidiz@google.com>2018-11-30 09:56:40 -0800
commit5fc0547a94ce125e952a1782c4691e3902892ed4 (patch)
treed3ee86a5a8a5873460fdad3d689463bccb00be64 /examples/python/interceptors/headers/greeter_client.py
parenta93b6012cc1ae0259118ba5bb4eff4c8634bd18c (diff)
Add basicConfig to prepare to log future exception
Diffstat (limited to 'examples/python/interceptors/headers/greeter_client.py')
-rw-r--r--examples/python/interceptors/headers/greeter_client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/interceptors/headers/greeter_client.py b/examples/python/interceptors/headers/greeter_client.py
index 6a09a3b9c5..712539850d 100644
--- a/examples/python/interceptors/headers/greeter_client.py
+++ b/examples/python/interceptors/headers/greeter_client.py
@@ -14,6 +14,7 @@
"""The Python implementation of the GRPC helloworld.Greeter client."""
from __future__ import print_function
+import logging
import grpc
@@ -37,4 +38,5 @@ def run():
if __name__ == '__main__':
+ logging.basicConfig()
run()