diff options
author | Tianjie Xu <xunchang@google.com> | 2017-09-17 15:44:51 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2017-09-28 17:16:14 -0700 |
commit | 6c863b758f1b4f367946b78f5a93ad0337924023 (patch) | |
tree | 19e0c4f1440e0bf6dad0651ccf44dd492de8e6cd /scripts/update_device.py | |
parent | 098f702f1cdcc84307e8bebea09b6e957baa6e8f (diff) |
Allow update_engine to log to both logd and filesystem
Add a new option "logtofile" which default to false.
1. If both "logtostderr" and "logtofile" present, write to system debug
and log file.
2. If only "logtostderr" presents, write to system debug.
3. Otherwise write to log file only.
This keep the old logging behavior for omaha.
Bug: 65568605
Test: apply an update on pixel2 and check the log.
Change-Id: Id998f626fe5ebefbf6f4dffc19aee1c552343ab6
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions