Open cristan opened 6 years ago
That's a really good point, which we'd like to improve. We need to find a good way to know which app the logs are coming from and also handle if an app is running multiple processes.
Was just going to create a Github Issue about this.
Would be great to filter the logs based on a selected application, even if I need to type the package name myself.
Not sure if it will help in anyway but Pidcat does this: https://github.com/JakeWharton/pidcat
I'll take this up
What happened to this feature request?
@nubpro Looks like it is stalled.
Filtering by selected application is an essential feature.
Android Studio logcat:
Choosing application to filter by is a main feature of Android Studio's logcat. I only care about logs from my application, not all this stuff from android system and other apps.
We need to find a good way to know which app the logs are coming from and also handle if an app is running multiple processes.
adb shell pidof my.app.package
-> prints a process id@danielbuechele I think pidof
will print only the main application process (not sure). If people want logs from all of an app's processes, that can be a new issue.
It is surprising that this issue has been stalled for so long. Without app filtering, I personally find that Flipper is too difficult to use.
What is shown in the logs screen by default is pretty much useless: there are so many logs that the logs of your app quickly scroll away.
This is easily fixed in Android Studio: select the package of your app, and select the Regex "Show only selected application". In Flipper, not so much. With a right click, you can select PID, find a log by your app and click on this PID.
This isn't very user friendly. Another problem is that the PID of your app isn't consistent, so after a reboot or when plugging in another device, you'll have to find the correct PID again.
Therefore: please add a way to easily see the logs of a specific app which has the Flipper SDK installed.