Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android adb logcat time filter

Does anyone know how to filter out the logcat ('adb shell logcat') so that it only shows the log statements after current date and time ? Thanks in advance.

like image 482
phillyville Avatar asked Apr 16 '26 03:04

phillyville


2 Answers

Activities created after the current date and time? Or just log statements after the current time? Could it be as simple as "adb logcat -c; adb logcat"

like image 86
Stan Kurdziel Avatar answered Apr 18 '26 15:04

Stan Kurdziel


use

adb logcat -t "01-21 10:10:10.000"

this will give you log

after 21st January 10.10.10.000

like image 36
Akhil Dabral Avatar answered Apr 18 '26 15:04

Akhil Dabral