commit | 5ba750171ce0662bc5a3e9e2b2f488812d80fa35 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Feb 24 18:37:08 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Feb 24 18:37:08 2022 +0000 |
tree | cc4810f5778fdf73117abb03b386ba4d61c77407 | |
parent | aeba7421d37b29a9554f43adf7416c7292ce3d82 [diff] | |
parent | f2a147a6be7ea6d17626c9a740756beedf89ea37 [diff] |
Merge "Send Keystore2 logs to SYSTEM rather than MAIN" am: f2a147a6be Original change: https://android-review.googlesource.com/c/platform/system/security/+/1990551 Change-Id: I6c275a08c980f62f7e16fd95f9e1a0265762d124
diff --git a/keystore2/src/keystore2_main.rs b/keystore2/src/keystore2_main.rs index d01bfdd..55f5d15 100644 --- a/keystore2/src/keystore2_main.rs +++ b/keystore2/src/keystore2_main.rs
@@ -44,7 +44,10 @@ fn main() { // Initialize android logging. android_logger::init_once( - android_logger::Config::default().with_tag("keystore2").with_min_level(log::Level::Debug), + android_logger::Config::default() + .with_tag("keystore2") + .with_min_level(log::Level::Debug) + .with_log_id(android_logger::LogId::System), ); // Redirect panic messages to logcat. panic::set_hook(Box::new(|panic_info| {