Skip to content

ui: Improve log filtering flexibility #3072

@loordoza

Description

@loordoza

Hi Perfetto team,

I'd like to suggest a couple of enhancements to the Android log filtering panel to make it more user-friendly and powerful.
Currently, the filtering behavior is as follows:

  1. Tag filtering: requires an exact match for the tag.
  2. Message filtering: the search is case-sensitive.

I propose the following improvements:

  1. Regex support for tag filtering: it would be very helpful to allow filtering tags using regular expressions. For example, a user might want to filter all tags with a certain prefix, like MyApp*. Exact matching is often too restrictive.
  2. Case-Insensitive message filtering: making the message search case-insensitive by default would be more practical. It's common to search for log messages without remembering the exact casing, and case-sensitivity can cause users to miss relevant logs.

If you think these suggestions are sensible, I'd be happy to contribute a pull request to implement these features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions