From aea1e2c5dc2325d2ac062bef1a7a5561ec488a7c Mon Sep 17 00:00:00 2001 From: Ningyuan Wang Date: Tue, 10 Oct 2017 16:37:41 -0700 Subject: 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 --- service/java/com/android/server/wifi/SelfRecovery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service') 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 -- cgit v1.2.3