Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to easily only see logs of the selected app #326

Open
cristan opened this issue Nov 14, 2018 · 6 comments
Open

Add a way to easily only see logs of the selected app #326

cristan opened this issue Nov 14, 2018 · 6 comments
Labels
Android enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed plugin-logs

Comments

@cristan
Copy link

cristan commented Nov 14, 2018

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.

@danielbuechele
Copy link
Contributor

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.

@michaelcarrano
Copy link

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

@passy passy added Android enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 25, 2019
@umasankar-yedida
Copy link

I'll take this up

@nubpro
Copy link

nubpro commented Jun 3, 2020

What happened to this feature request?

@vkotovv
Copy link

vkotovv commented Jul 13, 2020

@nubpro Looks like it is stalled.

@troy-lamerton
Copy link

Filtering by selected application is an essential feature.

Android Studio logcat:
Screen Shot 2021-08-12 at 07 25 43

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.

  1. adb shell pidof my.app.package -> prints a process id
  2. filter the logs for that 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed plugin-logs
Projects
None yet
Development

No branches or pull requests

10 participants