ACC Logo
ADBLogsSafe

adb logcat

Stream live Android system logs

What It Does

Streams continuous real-time diagnostic output from the Android log ring buffer.

Command Syntax
Terminal
$adb logcat [options] [filterspecs]
Parameters & Placeholders Breakdown

This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:

[options]Command Flags / Optional Arguments

Optional command flags that modify behavior, such as "-r" to reinstall or "-d" to allow downgrade.

Real-world value:-r -g
Command syntax: adb install -r -g app.apk
[filterspecs]FILTERSPECS Parameter

Replace this placeholder with your specific filterspecs value.

Real-world value:your-filterspecs
Command syntax: adb logcat [options] your-filterspecs
Usage Examples
$adb logcat
$adb logcat -v time
$adb logcat *:E
$adb logcat -s ActivityManager:I MyAppTag:D
Options & Flags
Flag / ParameterDescription
-v <format>Sets log message formatting (brief, process, tag, raw, time, threadtime).
-sSets default filter to silent so only explicitly specified tags print.
-dDump current buffer to stdout and exit without streaming.
-cClear (flush) log ring buffers and exit.
Prerequisites & Requirements
  • Device connected
Related Commands
Found an error or missing flag for adb logcat?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity