Logcat & Debugging Android 5.0+ Risk: READ_ONLY

Exit After N Log Entries

Outputs first 100 lines and closes stream.

Command Syntax

adb logcat -m 100
Generic Syntax: adb logcat -m 100

Real-World Usage Examples

Run command
Outputs first 100 lines and closes stream.
adb logcat -m 100