Add a chromeos swicth to redirect libassistant logging.
This change adds a new chromeos switch "redirect-libassistant-logging" to control redirect libassistant logging from /home/chronos/user/log to /var/log/chrome. One scenario to use this switch is in the Tast integration tests, where we want to export libassistant.log into the test result package to help debugging test failure. The previous logging directory /home/chronos/user is an encrypted user home directory, so we need to move the log to /var/log/chrome where Tast collects newly-written data after running all tests. Bug: 950197. Test: local compile and manually test. Change-Id: I4f5124d53d1c55f03738b9823c82dc83c3e3580f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560145 Commit-Queue: Meilin Wang <meilinw@chromium.org> Reviewed-by:Tao Wu <wutao@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#649249}
Showing
Please register or sign in to comment