Add more ways to filter logs

Issue #2379 resolved
Jurgis Salna created an issue

Ability to filter logs by operation is super useful. However seems limited to only using Operation LIKE ‘%keyword%' syntax which is not granular enough.
Adding a method to filter by user, time, application would be nice. Perhaps straight up custom SOQL would do it?
The hover on filter icon says Optiona regular expression-based filter but doesn’t seem to work.

Comments (8)

  1. Piotr Kożuchowski

    Is there any way to filter my logs only? I’ve tried typing different things into that search box but nothing ever worked for me, is there any documentation or help text how to use this?

  2. Scott Wells repo owner

    The current header-level filtering only applies to the header-level fields. So in the original screenshot, typing a value or pattern for Application or Operation would filter those accordingly. It doesn’t currently filter by the log body because the API doesn’t support that. IC2 would need to download all log bodies and perform the filtering locally. Don’t get me wrong…I can see significant value in that for sure…just explaining how it works right now.

  3. Piotr Kożuchowski

    @Scott Wells Would it be possible to add filter by LogUser.Name? That would completely satisfy my needs.

    We have one dev org for like 20 devs or so (because of vlocity crap), so the log panel is always full of irrelevant logs :)

  4. Scott Wells repo owner

    I think I should be able to do that, but let me investigate when I’m back next week.

  5. Scott Wells repo owner

    Committed for the next build. The filter is now applied to LogUser.Name and LogUser.Username as well as the previously-supported fields.

  6. Scott Wells repo owner

    Resolving this as the remaining work is quite open-ended. Please feel free to log new enhancements for specific requests for additional log filtering capabilities.

  7. Log in to comment