Forrest logo
back to the adb tool

adb-logcat:tldr:468f7

adb-logcat: Display logs for all tags with priority level [W]arning and higher.
$ adb logcat *:W
try on your machine

The command "adb logcat *:W" is used to show the logs (logcat) from an Android device connected to a computer using the Android Debug Bridge (adb).

In more detail, here's what each component of the command means:

  • "adb" stands for Android Debug Bridge, a command-line tool used to communicate with an Android device from a computer.
  • "logcat" is a command that displays the logs generated by system and application processes on an Android device.
  • "*" is a wildcard character that represents all tags or message types.
  • "W" is a log level filter. It stands for "Warning" and indicates that only logs of warning level and above will be displayed.

So, when you run the command "adb logcat *:W", it will show the log messages with a warning level and higher from all tags or message types on the connected Android device.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the adb tool