summaryrefslogtreecommitdiffstats
path: root/logcat
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variableBernhard Rosenkränzer2014-11-241-1/+0
| | | | | Change-Id: Ifba91dd93a9c8170f8837c413756554e117be894 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* am 91b76d7d: Merge "Made suffix length of rotated logcat files constant."Aristidis Papaioannou2014-10-292-2/+62
|\ | | | | | | | | * commit '91b76d7de3029f6e617d640ca1b9ef844fa44477': Made suffix length of rotated logcat files constant.
| * Made suffix length of rotated logcat files constant.Aristidis Papaioannou2014-10-292-2/+62
| | | | | | | | | | | | | | | | | | The suffix now uses as many digits as needed to cover the maximum number of rotated files. eg, for 20 files it would use 2 digits: log_file.{01,02,03,...,20} Change-Id: I4709b3cf4bf88c209db3c4d9e24a3a4731c98bae
* | am b210403a: am 98d3aa3f: Merge "logcat: tests: deal with -v threadtime default"Mark Salyzyn2014-09-181-7/+11
|\ \ | |/ | | | | | | * commit 'b210403a8bf417e9f88bcca0a2a652d533f6c524': logcat: tests: deal with -v threadtime default
| * logcat: tests: deal with -v threadtime defaultMark Salyzyn2014-09-181-7/+11
| | | | | | | | | | | | | | - specify -v brief where necessary to preserve tests - fix an occasional issue for logrotate and device block size Change-Id: I09b02cc0359dc351a89311abc3ee762a0f23582c
* | am a9d789dd: am a3e53f1d: Merge "logcat: -v format defaults to threadtime"Mark Salyzyn2014-09-161-3/+6
|\ \ | |/ | | | | | | * commit 'a9d789dd8a7c1cfe58793d77af80bb457fca3cf2': logcat: -v format defaults to threadtime
| * logcat: -v format defaults to threadtimeMark Salyzyn2014-09-161-3/+6
| | | | | | | | Change-Id: Iafddf83b0507a667e0395d38ec9afaed67319018
* | am e70851f8: am f9b9693b: Merge "liblog: logcat: colored output."Mark Salyzyn2014-09-121-2/+2
|\ \ | |/ | | | | | | * commit 'e70851f8a8aa4c9dfaa442abf812c283ba8d8b6f': liblog: logcat: colored output.
| * liblog: logcat: colored output.Pierre Zurek2014-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | This patch adds a new '-v color' option to logcat so that the output is colored similar to the ones in DDMS. Simply type "adb logcat -v color" to use it. Works well with bash in gnome-terminal. NO GUARANTEE IT WILL WORK ON A NON xterm STYLE TERMINAL. Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com> Signed-off-by: Mark Salyzyn <salyzyn@google.com> Change-Id: I9189c5f27fed991579edbcbc6834536eb8112152
* | am 3888a4d0: am 35a76df5: Merge "logcat: document help tail from time"Mark Salyzyn2014-09-021-0/+3
|\ \ | |/ | | | | | | * commit '3888a4d07f7341c103c618f331fb04d93d9c532b': logcat: document help tail from time
| * logcat: document help tail from timeMark Salyzyn2014-09-011-0/+3
| | | | | | | | | | | | | | (cherry picked from commit 6a594683ec8aa2c8cee98a95f502772db515e60e) Bug: 17323719 Change-Id: Id057dde60e699c946828f4aeabedf1728b3bc877
| * logcat: test: logrotate flagsMark Salyzyn2014-07-241-5/+48
| | | | | | | | | | | | | | | | - test -f -n and -r flags - fix issue with parse error for sizes in bytes (no multiplier) Bug: 16147190 Change-Id: Iadf2fd903d5e881d02f1d2b491441cc8090ee1c9
* | logcat: test: logrotate flagsMark Salyzyn2014-07-241-5/+48
| | | | | | | | | | | | | | | | | | - test -f -n and -r flags - fix issue with parse error for sizes in bytes (no multiplier) (cherry pick from d03caa23ddd8670ccd83eaf4ef4fc0c78e065c1b) Bug: 16147190 Change-Id: Iadf2fd903d5e881d02f1d2b491441cc8090ee1c9
* | am 9a357b88: am badc23f8: am f6ef1f53: Merge "logcat: parse failure for -n ↵Mark Salyzyn2014-07-071-1/+1
|\ \ | |/ | | | | | | | | | | <KBsize> and -r <rotate limit>" * commit '9a357b884fcc46f10f16860987614a2b9b610208': logcat: parse failure for -n <KBsize> and -r <rotate limit>
| * logcat: parse failure for -n <KBsize> and -r <rotate limit>Mark Salyzyn2014-07-071-1/+1
| | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=72867 Change-Id: Id0c988543ecfccc5054d15d4195ef578468d50af
* | am 4700dfa0: am 8d782f51: am 3f55d2f4: Merge "logcat: test: modernize"Mark Salyzyn2014-06-183-112/+203
|\ \ | |/ | | | | | | * commit '4700dfa0fbb9be31809b250c001d0275ce0b38dc': logcat: test: modernize
| * logcat: test: modernizeMark Salyzyn2014-06-183-112/+203
| | | | | | | | | | | | | | | | | | | | | | - split sequential sort output test out as a benchmark check - Allow up to two failures of sort results because of occasional reader locks. - logcat -g output was changed to handle wider set of values incorporating a multiplier for UX, and would not pass test if 'logcat -G 1M' was run. - If spam filter is turned off, prune checks would fail, allowed for an empty default. Change-Id: I06d6089e18279df7525d1c16a1f76b3125ddbf05
* | Add event log tag for Safety Net.William Luh2014-06-171-0/+2
|/ | | | | | | | This is for clients who log to EventLog and want Safety Net to pick up and send the logs. Bug:15572351 Change-Id: I6fdbe7905ec8b3b27a36eb38aee61c97bcd8d4bf
* logd: logcat: debuggerd: audit logs to events and mainMark Salyzyn2014-05-271-5/+0
| | | | | | | | | | | - auditd spawn log copy to events and main - logcat delete events as one of the default logs - debuggerd do not collect events. - squish multiple spaces - switch from strcpy to memmove for overlapping buffers BUG: 14626551 Change-Id: I89b30273ce931ed2b25a53ea9be48e77f4c1bbf4
* logd: logcat: debuggerd: auditd logs to eventsMark Salyzyn2014-05-151-7/+8
| | | | | | | | | | | - auditd switch to recording logs to events log id - logcat add events as one of the default logs - debuggerd collect events log as well. ToDo: debuggerd & bugreport collect intermixed logs. BUG: 14626551 Change-Id: I958f0e729b7596748be57488a38824db5645be7b
* Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-1/+0
| | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
* logd: logcat: Add persist.logd.size group of propertiesMark Salyzyn2014-05-061-2/+27
| | | | | | | | | - logd Add persist.logd.size (global), persist.logd.size.<logid> - logcat report a more flexible multiplier in -g command. Bug: 14563261 Bug: 14469172 Change-Id: Ie389caa14ad3ae3d4a3a3cc463425bb9dbc5e483
* liblog: logcat: Move library print test into gTestMark Salyzyn2014-05-021-7/+0
| | | | Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8315
* logcat: turn on -WerrorMark Salyzyn2014-05-023-7/+6
| | | | | | - Deal with some -Wunused issues Change-Id: Ic4ab9a49f13e156a73d40266e413dee3e6396178
* logd: liblog: logcat: debuggerd: Add LOG_ID_CRASHMark Salyzyn2014-04-161-2/+18
| | | | Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
* logcat: Better help message for white and black listMark Salyzyn2014-04-111-6/+10
| | | | Change-Id: Ia739260b4e0fcf8062ad9166fd65b1d6e7bb446c
* logd: liblog: logcat: enable prune features for userMark Salyzyn2014-04-024-53/+4
| | | | | | - Enable whitelist, blacklist and logsize tuneables for user Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
* logcat: test arbitrary time to tailMark Salyzyn2014-03-261-33/+108
| | | | | | | | | - Add tail_time - Use EXPECT instead of ASSERT to provide more coverage - Use EXPECT_TRUE/ASSERT_TRUE when comparing NULL - Itemize order complaints in sorted_order test Change-Id: I55a7543fa3300c0a9524fac70111e680c2877eea
* logcat: timed tests fail under loadMark Salyzyn2014-03-241-3/+0
| | | | Change-Id: Ic1cdf0509617720eef7a3ad0b17a3b6f88c9d87e
* logcat: white and blacklist failureMark Salyzyn2014-03-212-2/+15
| | | | | | | | - logcat improperly squashes out count - logcat test enhanced to catch failure - logd places entries in ascending sorted order Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
* logcat: improve error messagesMark Salyzyn2014-03-181-7/+7
| | | | | Bug: 13464830 Change-Id: Ia8783fa2422e444bcdfca8d0153cf6e7634612bb
* logcat: test White Black listMark Salyzyn2014-03-142-1/+102
| | | | Change-Id: Ia9509ad09dd86e4d9169ed7d0b33911f1ca9eec6
* logd: liblog: logcat: Arbitrary time to tailMark Salyzyn2014-03-141-3/+34
| | | | Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
* logd: liblog: logcat: Add LogWhiteBlackListMark Salyzyn2014-03-132-7/+127
| | | | | | | | | | | | | | | - liblog android_logger_get_log_size and android_logger_get_readable_size adjusted to return long instead of int because of -G flag extending range NB: ifdef'd only for userdebug and eng builds - liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size - logcat Add -P, -p and -G flags - logd Add LogWhiteBlackList and configurable log size (cherry picked from commit 18a5432158ad43b8faefe4950b30e760200ce0b4) Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
* logd: liblog: logcat: Add StatisticsMark Salyzyn2014-03-131-4/+93
| | | | | | | | | | | - logd add statistical collection and formatting - liblog add android_logger_get_statistics call - logcat add -S flag - logcat add -b all (cherry picked from commit 51a29c8dc445e4fb89860561933e54a231e6ffb4) Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
* logcat: test: add clear and blocking checkMark Salyzyn2014-02-261-9/+95
| | | | | | (cherry picked from commit 1beb2ab6f6f7cec157b25a2e728c6de8c6be58c4) Change-Id: I243b1338c4a5935a297a0519c03697fd828e47e6
* logcat: Add -T flag (-t w/o assumption of -d)Mark Salyzyn2014-01-272-1/+72
| | | | | | (cherry picked from commit de02546e3d7c9c307e3d87e0a7fe8bb39b363a72) Change-Id: I49763e2db83755e0b7b12dfa3f83a3957c54d389
* logcat: Add logcat test suiteMark Salyzyn2014-01-274-14/+440
| | | | | | (cherry picked from commit 2807db9a269baaa7b3f67c337d3312877ba90aa0) Change-Id: Ic4c84b88b8d899965c9765bdc3ee223ef73ba7d1
* logcat: Incorporate liblog reading APIMark Salyzyn2014-01-271-238/+94
| | | | | | (cherry picked from commit a1062c728a04e0de6e86a138d98eaff12f14fb41) Change-Id: I1e1a55d13ac55350e8d54bfe92b392de07f26a5d
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-1/+1
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* Add new cert_pin_failure tag that can be used in user-consent filtering.William Luh2013-09-251-5/+1
| | | | | Bug: 10912373 Change-Id: If8a2f9829b3aac4abc33a4623c5f5b4966fd6870
* Move liblog headers to system/core/include/logColin Cross2013-07-241-4/+4
| | | | | | | | | Move the liblog headers to log/ instead of cutils/ to complete the separation of libcutils and liblog. cutils/log.h still exists and includes log/log.h in order to support the many existing modules that use cutils/log.h. Change-Id: I2758c9f4aedcb809ca7ba8383d0f55041dd44345
* remove unused SF event log tagsMathias Agopian2013-06-041-16/+1
| | | | Change-Id: I1271875c575aac31568017a17622f4dc9ff40032
* Add event log tag for cert pin failures.Geremy Condra2012-09-111-0/+3
| | | | Change-Id: Ib93f4eeec35b5754498464ada94faeb2bdb0b896
* am 753b96cf: am dd56039c: Merge "Fixed an unused param warning in logcat"Stephen Hines2012-08-131-1/+1
|\ | | | | | | | | * commit '753b96cf67f3eaf716510600516c3c593a1ae5e1': Fixed an unused param warning in logcat
| * Fixed an unused param warning in logcatEdwin Vane2012-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | Changed a function to actually use its parameter instead of a global variable. All callers of the function pass the global variable as an argument anyway so behaviour is unchanged. Change-Id: Ib84d45c17d2213c4d441bf2f423feca14e7aa2f4 Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
* | Added logtags for errors in bionic.Geremy Condra2012-06-111-0/+16
|/ | | | | | | Specifically, this adds tags for errors in FORTIFY_SOURCE'd parts of bionic and for some indications of DNS spoofing. Change-Id: I186ee36ae42cb6ba4fd5729ede84e2dcd4a56468
* fix "logcat -c ; logcat -d" hang.Nick Kralevich2012-02-231-1/+1
| | | | Change-Id: I1dc3633fc7228a6ff8ed0da4572f40055a28ceb2
* logcat: add sanity checkNick Kralevich2011-10-171-0/+5
| | | | | | | Sanity check that the length we get back from the kernel matches how much data we actually received. Change-Id: I5cfd80321ab41459bb514dfde2da57413a7bd9e6
* Add checking for log entry formatKenny Root2011-10-031-3/+3
| | | | | | | The log tag may be zero length if corrupted, so check for this condition. Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84