-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_log_rpc: Invoke pw.log.Logs.Listen() to restore prior behavior
Prior to http://pwrev.dev/169174, the pw_rpc "open" feature was improperly implemented in the Python client. As a result, LogStreamHandler.listen_to_logs() used to actually call the pw.rpc.Logs.Listen RPC instead of simply listening for packets. When the fix landed, this behavior changed. To maintain prior behavior, rename listen_to_logs to start_logging and have it invoke the pw.log.Logs.Listen RPC. Bug: b/364421706 Change-Id: I30fdd416190ead9adbfe85ec3bea9bfeed62b81f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/233991 Commit-Queue: Wyatt Hepler <[email protected]> Pigweed-Auto-Submit: Wyatt Hepler <[email protected]> Reviewed-by: Carlos Chinchilla <[email protected]> Lint: Lint 🤖 <[email protected]>
- Loading branch information
Showing
4 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters