commit | 9b54e5ea631e5b2759c86952f5efdc86d00dddc8 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Aug 02 11:46:01 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 03 01:09:58 2021 +0000 |
tree | 5fc128efd1d0d2123c606c5a82100193ba9b511a | |
parent | 32a875ddb038207df964d93028acfd248a7a9007 [diff] |
pw_stream: Log in SocketStream; configure port in host RPC server - Log erros when errors occur while creating / configuring the socket. - Use UNKNOWN status instead of INTERNAL for errors. INTERNAL is used for serious internal errors (e.g. an invariant has been violated). - Make the port used by the host system_rpc_server configurable. - CHECK that socket setup succeeds in the host system_rpc_server. - In the system_rpc_server, print logs to stderr in addition to the HDLC channel. Otherwise, it's not possible to see logs from before the socket it setup. Change-Id: I3475676ff7bb1461b3b72f603a27638f292f87eb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/55505 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
See our website: http://pigweed.dev