| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 20664753
Change-Id: Ib4752bd785496dab5bb4d4979d5d80f662adbdfa
|
|
|
|
|
|
|
|
| |
printflike checks for NULL fmt at compile time, checks for
NULL at runtime are optimized out. Regression as a result
of commit 5976303aa6e55a9e81eadb35d50f458052e3fa24.
Change-Id: Ia4e7ee4b6cb2adf1e6609c70e79684855f76e6fc
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove -r default value implementation (since is not functional).
Check the status of some memory allocations.
Make sure that the pruning buffer is set to NULL if we get to the end of the loop.
Make sure that the file status is successfully retrieved before using the size.
Add strtouia - string to unsigned argument.
Add logcat_panic with/without printing an error message and help.
Play nicer with the android namespace.
Change-Id: Id4c37cf64968128424e29bf1725f6c9a5924a0e2
Signed-off-by: Traian Schiau <traianx.schiau@intel.com>
|
|
|
|
| |
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Test did not handle all possible multiples of block sizes.
Bug: 19604106
Change-Id: I693358be9598926389631baf21c5883e0f2fd735
|
|/
|
|
|
| |
Bug: 19620794
Change-Id: I572ffb62d39d884d5102b0846a95b1a8216f3d41
|
|
|
|
| |
Change-Id: I12d6aa4ebf48f06faf9435b4ffedfd309629cf3b
|
|
|
|
|
|
|
|
| |
We are changing the log read API to allow event notification
regarding logging system data loss. We would like these out
of band events to be reported.
Change-Id: I9e802113604d8cc0fc9adff0d1e014bbc40914fe
|
|
|
|
|
|
|
|
| |
Used to pull the Android log messages after a reboot.
A companion to the pstore console logs. Adding the -L
flag triggers this behavior.
Change-Id: Icce2dc00bcbb26975bea604420c6be397869e804
|
|
|
|
|
|
|
|
| |
Permits a single thread to collect several log buffer and
to separate them out into named buckets by keying off the
dividers ---------
Change-Id: I5a92c67383a73ea566cb9b9732d26d88d9c41c66
|
|
|
|
|
|
|
|
| |
Move away from using POSIX open(2) flags and introduce ANDROID_LOG_* flags to
replace them. Add security by preventing random mode flags from getting into
underlying POSIX calls. ANDROID_LOG_* flags overlap POSIX O_* flag definitions.
Change-Id: Ib32bb64c287e8bf150be62242e1ba46bb37839fc
|
|
|
|
|
|
| |
- This is done to prevent the administrivia of adjusting
logcat sources every time a new log id is added.
Change-Id: I0074afb00694c2c00f6c3a66e58c15691146a6c5
|
|
|
|
|
| |
Change-Id: Ifba91dd93a9c8170f8837c413756554e117be894
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|\
| |
| |
| |
| | |
* commit '91b76d7de3029f6e617d640ca1b9ef844fa44477':
Made suffix length of rotated logcat files constant.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit 'b210403a8bf417e9f88bcca0a2a652d533f6c524':
logcat: tests: deal with -v threadtime default
|
| |
| |
| |
| |
| |
| |
| | |
- specify -v brief where necessary to preserve tests
- fix an occasional issue for logrotate and device block size
Change-Id: I09b02cc0359dc351a89311abc3ee762a0f23582c
|
|\ \
| |/
| |
| |
| | |
* commit 'a9d789dd8a7c1cfe58793d77af80bb457fca3cf2':
logcat: -v format defaults to threadtime
|
| |
| |
| |
| | |
Change-Id: Iafddf83b0507a667e0395d38ec9afaed67319018
|
|\ \
| |/
| |
| |
| | |
* commit 'e70851f8a8aa4c9dfaa442abf812c283ba8d8b6f':
liblog: logcat: colored output.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit '3888a4d07f7341c103c618f331fb04d93d9c532b':
logcat: document help tail from time
|
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 6a594683ec8aa2c8cee98a95f502772db515e60e)
Bug: 17323719
Change-Id: Id057dde60e699c946828f4aeabedf1728b3bc877
|
| |
| |
| |
| |
| |
| |
| |
| | |
- test -f -n and -r flags
- fix issue with parse error for sizes in bytes (no multiplier)
Bug: 16147190
Change-Id: Iadf2fd903d5e881d02f1d2b491441cc8090ee1c9
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|\ \
| |/
| |
| |
| |
| |
| | |
<KBsize> and -r <rotate limit>"
* commit '9a357b884fcc46f10f16860987614a2b9b610208':
logcat: parse failure for -n <KBsize> and -r <rotate limit>
|
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=72867
Change-Id: Id0c988543ecfccc5054d15d4195ef578468d50af
|
|\ \
| |/
| |
| |
| | |
* commit '4700dfa0fbb9be31809b250c001d0275ce0b38dc':
logcat: test: modernize
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|/
|
|
|
|
|
|
| |
This is for clients who log to EventLog and want Safety Net to
pick up and send the logs.
Bug:15572351
Change-Id: I6fdbe7905ec8b3b27a36eb38aee61c97bcd8d4bf
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8315
|
|
|
|
|
|
| |
- Deal with some -Wunused issues
Change-Id: Ic4ab9a49f13e156a73d40266e413dee3e6396178
|
|
|
|
| |
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
|
|
|
|
| |
Change-Id: Ia739260b4e0fcf8062ad9166fd65b1d6e7bb446c
|
|
|
|
|
|
| |
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: Ic1cdf0509617720eef7a3ad0b17a3b6f88c9d87e
|
|
|
|
|
|
|
|
| |
- logcat improperly squashes out count
- logcat test enhanced to catch failure
- logd places entries in ascending sorted order
Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
|
|
|
|
|
| |
Bug: 13464830
Change-Id: Ia8783fa2422e444bcdfca8d0153cf6e7634612bb
|
|
|
|
| |
Change-Id: Ia9509ad09dd86e4d9169ed7d0b33911f1ca9eec6
|
|
|
|
| |
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 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
|
|
|
|
|
|
| |
(cherry picked from commit 1beb2ab6f6f7cec157b25a2e728c6de8c6be58c4)
Change-Id: I243b1338c4a5935a297a0519c03697fd828e47e6
|
|
|
|
|
|
| |
(cherry picked from commit de02546e3d7c9c307e3d87e0a7fe8bb39b363a72)
Change-Id: I49763e2db83755e0b7b12dfa3f83a3957c54d389
|