summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNingyuan Wang <nywang@google.com>2017-10-10 16:37:41 -0700
committerNingyuan Wang <nywang@google.com>2017-10-10 16:59:37 -0700
commitaea1e2c5dc2325d2ac062bef1a7a5561ec488a7c (patch)
treebe7a346a65afa4e2f79d0477138b52b2c301350b
parent87d7badd662aa84369b2b9893e990cb24197ad24 (diff)
downloadandroid_frameworks_opt_net_wifi-aea1e2c5dc2325d2ac062bef1a7a5561ec488a7c.tar.gz
android_frameworks_opt_net_wifi-aea1e2c5dc2325d2ac062bef1a7a5561ec488a7c.tar.bz2
android_frameworks_opt_net_wifi-aea1e2c5dc2325d2ac062bef1a7a5561ec488a7c.zip
Change self recovery log level from wtf to error
Reasons: 1. These recovery events are reported to metrics as well. 2. These recovery events are not severe and don't impact user experiecne. 3. We usually can't get useful information from the wtf log snippets. Bug: 66996979 Test: compile, unit tests Change-Id: I713a243927bf935aaf356289be42389f1ba0d5ea
-rw-r--r--service/java/com/android/server/wifi/SelfRecovery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/SelfRecovery.java b/service/java/com/android/server/wifi/SelfRecovery.java
index 21a3e0ac7..e39e0d5b0 100644
--- a/service/java/com/android/server/wifi/SelfRecovery.java
+++ b/service/java/com/android/server/wifi/SelfRecovery.java
@@ -72,7 +72,7 @@ public class SelfRecovery {
Log.e(TAG, "Invalid trigger reason. Ignoring...");
return;
}
- Log.wtf(TAG, "Triggering recovery for reason: " + REASON_STRINGS[reason]);
+ Log.e(TAG, "Triggering recovery for reason: " + REASON_STRINGS[reason]);
if (reason == REASON_WIFICOND_CRASH || reason == REASON_HAL_CRASH) {
trimPastRestartTimes();
// Ensure there haven't been too many restarts within MAX_RESTARTS_TIME_WINDOW