summaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorJohn Michelau <w14107@motorola.com>2009-08-19 10:01:55 -0500
committerWink Saville <wink@google.com>2009-08-19 10:06:52 -0700
commited7ccae2968a75e09c22a3da90a9762170f96477 (patch)
treeb06777fc0b8cc328b18810ea7c59e04e1361eee3 /liblog
parent761aeb431e6d1482754a98bba2b683ba8111ef88 (diff)
downloadcore-ed7ccae2968a75e09c22a3da90a9762170f96477.tar.gz
core-ed7ccae2968a75e09c22a3da90a9762170f96477.tar.bz2
core-ed7ccae2968a75e09c22a3da90a9762170f96477.zip
Route all log tags with "RIL" prefix to radio buffer.
Diffstat (limited to 'liblog')
-rw-r--r--liblog/logd_write.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c
index 96da38b6c..241dbf0c7 100644
--- a/liblog/logd_write.c
+++ b/liblog/logd_write.c
@@ -142,11 +142,7 @@ int __android_log_write(int prio, const char *tag, const char *msg)
/* XXX: This needs to go! */
if (!strcmp(tag, "HTC_RIL") ||
- !strcmp(tag, "RILJ") ||
- !strcmp(tag, "RILB") ||
- !strcmp(tag, "RILC") ||
- !strcmp(tag, "RILD") ||
- !strcmp(tag, "RIL") ||
+ !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
!strcmp(tag, "AT") ||
!strcmp(tag, "GSM") ||
!strcmp(tag, "STK") ||