The following terminal command shows the logcat.
$> $SDK/platform-tools/adb logcat
But how do I get out of it to go back to the terminal prompt? I tried kill-server, exit etc.
To exit adb and return to the system shell use the $q or $Q command.
you just click on the line three times and you can selectd the line , it will stops scrolling.
Android logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that are written by applications with the "Log" class.
Solution 1: Restarting Logcat You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.
Ctrl + C
Using -d option will get you a one-time run of logcat.
adb logcat -d
Instead of looping, it will go back to command prompt after it prints out all the logs from log buffer. Each time you use this command, it always starts from the beginning of log buffer, unless you input the command below to clean the logs in log buffer:
adb logcat -c
The command above is to clean the logs in logcat buffer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With