diff options
author | Lidi Zheng <lidiz@google.com> | 2018-11-28 11:05:09 -0800 |
---|---|---|
committer | Lidi Zheng <lidiz@google.com> | 2018-11-30 09:56:40 -0800 |
commit | 5fc0547a94ce125e952a1782c4691e3902892ed4 (patch) | |
tree | d3ee86a5a8a5873460fdad3d689463bccb00be64 /examples/python/helloworld/greeter_client_with_options.py | |
parent | a93b6012cc1ae0259118ba5bb4eff4c8634bd18c (diff) |
Add basicConfig to prepare to log future exception
Diffstat (limited to 'examples/python/helloworld/greeter_client_with_options.py')
-rw-r--r-- | examples/python/helloworld/greeter_client_with_options.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/helloworld/greeter_client_with_options.py b/examples/python/helloworld/greeter_client_with_options.py index 7eda8c9066..d15871b519 100644 --- a/examples/python/helloworld/greeter_client_with_options.py +++ b/examples/python/helloworld/greeter_client_with_options.py @@ -14,6 +14,7 @@ """The Python implementation of the GRPC helloworld.Greeter client with channel options and call timeout parameters.""" from __future__ import print_function +import logging import grpc @@ -41,4 +42,5 @@ def run(): if __name__ == '__main__': + logging.basicConfig() run() |