From 26d712eef174194c7be8b31b3690500dff273dcf Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 14 Feb 2020 10:01:57 -0800 Subject: [PATCH] logcat: add 'device shut down' to error message upon EOF Turns out this is the actual most likely cause of EOF. Test: n/a Change-Id: I00b89fea9e7069493e7143be443c520ea3cb3c89 --- logcat/logcat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 08e3d2254..76a970f2a 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -1129,7 +1129,7 @@ int Logcat::Run(int argc, char** argv) { if (!ret) { error(EXIT_FAILURE, 0, R"init(Unexpected EOF! -This means that either logd crashed, or more likely, this instance of logcat was unable to read log +This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log messages as quickly as they were being produced. If you have enabled significant logging, look into using the -G option to increase log buffer sizes.)init");