From 8cbdaca6a8f949bd0f4718b07a503057119a3356 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Tue, 13 Jun 2023 15:43:53 -0700 Subject: [PATCH] Make validation logs ERROR level (flutter/engine#42825) INFO logs do not show up in normal logging unless an extra flag is passed by the tool (and it is a different flag from the "-v" flag). This means bug reports that include logs about impeller are missing the validation errors, which makes them harder to triage and dedupe. Fixes https://github.com/flutter/flutter/issues/128808 --- engine/src/flutter/impeller/base/validation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/base/validation.cc b/engine/src/flutter/impeller/base/validation.cc index d3a7031622..bb41c50fec 100644 --- a/engine/src/flutter/impeller/base/validation.cc +++ b/engine/src/flutter/impeller/base/validation.cc @@ -46,7 +46,7 @@ void ImpellerValidationBreak(const char* message) { if (sValidationLogsAreFatal) { FML_LOG(FATAL) << stream.str(); } else { - FML_LOG(INFO) << stream.str(); + FML_LOG(ERROR) << stream.str(); } #endif // IMPELLER_DEBUG }