Eclipse Logcat Android Messages: How does the ADT get the Application column?

I started Logcat in a command window and tried all possible formats:

short . Display priority / tag and PID of the process issuing the message (default format). process - display only PID. tag . Displays only priority / tag. raw Display the raw log message without any other metadata fields. time . Displays date, time of call, priority / tag and PID of the process. thread - displays priority, tag, and PID and TID. threadtime . Displays date, call time, priority, tag, and PID and TID. long Displays all metadata fields and individual messages with empty lines.

I could not find in any of these formats how the Eclipse ADT Logcat determines which application name is giving the message .

If you use Eclipse, look at the LogCat tab, it has columns of time, PID, application, tag and text.
Does it use TID to identify the application? Where can I get a list of TIDs and names of applications running on the system?

+1
source share
1 answer

I had about the same question: https://stackoverflow.com/questions/10366709/android-using-logcat-in-the-command-line-application-info-exact-priority-f

I'm not sure how this works on eclipse, but you can have a workaround: take from the log which process identifier was started that matches the package name. it is strange that this could be the same as there, because for some log messages eclipse does not show which application wrote the log message. you can also get the pid package name, but I cannot find a way to do this.

+2
source

Source: https://habr.com/ru/post/919448/


All Articles