How can I determine which application is producing debug statements in Android Studio?

I'm trying to figure out what this debug output produces:

04-25 15: 58: 04.883 1542-5012 /? D / NetworkStatsCollection: getHistory: mUID 10266 isVideoCallUID: false

The above output works continuously with a connected phone. I can't see this using the emulator and I uninstalled the app I'm working on, so I don't think it is. I have tried restarting my phone but to no avail. How do I determine which application is calling this?

+3


source to share


1 answer


Use adb shell ps | fgrep 1511

to find out which application is tied to PID 1511, which according to your LogCat output is the application doing the logging.



(BTW, in the future, please post the LogCat output as text, not screenshots)

+2


source







All Articles