diff options
author | Christopher Ferris <cferris@google.com> | 2015-05-05 12:23:06 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-05-05 14:16:21 -0700 |
commit | b0481f48091d77f21492cc2f717308412091bc02 (patch) | |
tree | 69920a75202a64a47a4cdcf2c6c3549ffa951bb2 /debuggerd/utility.cpp | |
parent | aceb9c08df80da9c929af2998c54870455b79a03 (diff) | |
download | system_core-b0481f48091d77f21492cc2f717308412091bc02.tar.gz system_core-b0481f48091d77f21492cc2f717308412091bc02.tar.bz2 system_core-b0481f48091d77f21492cc2f717308412091bc02.zip |
All debuggerd log output marked fatal.
This avoids the log daemon skipping some of the log output from
debuggerd.
Bug: 20846525
(cherry picked from commit b0412a5c2b446edb137980333aa0a0bbfda2e955)
Change-Id: Ifed48814d76c7e855645b6d5487d5e6e1fcafd9e
Diffstat (limited to 'debuggerd/utility.cpp')
-rw-r--r-- | debuggerd/utility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/utility.cpp b/debuggerd/utility.cpp index d6a6d2e6c..e722f825f 100644 --- a/debuggerd/utility.cpp +++ b/debuggerd/utility.cpp @@ -67,7 +67,7 @@ void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { } if (write_to_logcat) { - __android_log_buf_write(LOG_ID_CRASH, ANDROID_LOG_INFO, LOG_TAG, buf); + __android_log_buf_write(LOG_ID_CRASH, ANDROID_LOG_FATAL, LOG_TAG, buf); if (write_to_activitymanager) { if (!android::base::WriteFully(log->amfd, buf, len)) { // timeout or other failure on write; stop informing the activity manager |