update_verifier now logs to kmesg
Set up update_verifier logging to be written to kmsg; because we may not have Logd during boot time. Bug: 64713327 Test: logs show up in `adb shell dmesg` Change-Id: If02f460bda121cd3e9062bc0e08107c6da66492c
This commit is contained in:
parent
11214d9062
commit
a009ce05e2
1 changed files with 6 additions and 0 deletions
|
@ -16,8 +16,14 @@
|
|||
|
||||
// See the comments in update_verifier.cpp.
|
||||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include "update_verifier/update_verifier.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Set up update_verifier logging to be written to kmsg; because we may not have Logd during
|
||||
// boot time.
|
||||
android::base::InitLogging(argv, &android::base::KernelLogger);
|
||||
|
||||
return update_verifier(argc, argv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue