-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Feature request: Add a flag to flutter run
& flutter logs
to filter output
#50808
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
flutter run
& flutter logs
to filter outputflutter run
& flutter logs
to filter output
): setVertexArrayObject: set vao to 0 (0) 1 2 Hot to remove these? |
Easy Fix (if you're using VSCode): |
Hope this feature release soon, it's so annoying to watch my log so messy. |
@madhavtripathi05 Can I use multiple filters ? |
yes you can separated by commas |
Thanks man
|
@madhavtripathi05 I didn't manage to add another filter using comma as a separator, maybe we can configure something here (see acreenshot)? But I don't understand how to do this, I need to filter multiple lines, please, help |
any update on this ? |
Any update on when this is going to get implemented? <.< |
This only works in debug console. Really hoping for a fix here, spammy debug messages make the log output unusable. |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This makes sense. I don't fully remember why I went down this route. |
If anyone would like to try creating a patch, feel free to send us a PR. |
cc @camsim99 |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
Weird? Everything is clearly described, all the information is there. Looks like this was closed by mistake? |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
Please reopen the ticket and turn off the bot. |
I've started working on the fix here #106569 (currently struggling with tests) |
Hi @blasten, a newcomer here 👋 I can see quite a lot of tests validate the logcat command arguments. I also discovered that some things (#45732) could rely on the current verbose output. Another potential place for implementing filtering is probably Update: issue #104268 seems to be related |
For all those of you that don't use a editor with a build-in terminal that supports filtering, but rather depend on the commandline, here's a goodie for you: This sed command filters all that annoying stuff and is a pretty neat workaround until there's a proper flutter built-in solution :) |
Great approach! While this works great, I like seeing the first logs while i'm waiting for my flutter app to run. For that I've tweaked your command to: This also prints the lines that don't have a "/" in the second position |
After #45743, we stopped filtering log output (by the string
flutter
both because it broke benchmark tasks and because it obscured when the app crashed. The downside is that the logs are much noisier. This should be configurable by a flag.For more context, see: #50628
The text was updated successfully, but these errors were encountered: