Closed acastruc closed 2 months ago
@acastruc Combination mode works for combining Text filters
and Other conditions (PID/TID/...)
. All text filters, including predefined, are combined in OR pattern.
@hamster620 Thanks for clarifying. I guess that makes sense for regular (inclusionary) regex filters, i.e. where you're considering what to see. If any text filter matches, log is included.
I've implemented exclusionary filter patterns, where if they match a log entry then it is NOT shown. I think in that case AND'ing the exclusionary filters makes sense. Do you agree?
For exclusionary filter pattern matches, if any text filter matches, the log is excluded
I am confused by some results I am seeing and I can't determine whether it's a bug or Im not understanding something. Docs describe combination mode intersection = AND union = OR Ok, that makes sense. So i have a test.log that I open under the ULogViewer profile
I create 3 predefined filters
If I activate (select) Foo filter, I only see the log lines that contain Foo (expected) If I set combination mode = UNION and I multiselect Foo and Cat filters, I see all the log lines, including Bar and Dog. I would expect to only see lines that contain Foo OR Cat, not all lines. If I set combination mode = INTERSECTION and I multiselect Foo and Cat filters, I see 3 lines: the one with Foo, the one with Cat, and the one with FooCat. This is the result I would expect for UNION, not intersection. For INTERSECTION I would expect to see the log lines that match on pattern Foo AND pattern Cat, meaning only lines that contain Foo AND Cat. But instead I see all lines.