Log Viewer Filtering

I wanted to use the log viewer today and I ran into a question.

I notice that there really isn’t any documentation on the filter. What I really want is a way to say “everything but this” in the filter, as in everything except logs from “openhab.event”.

I tried regex expressions (e.g. ?!(.*openhab.event).*). I tried browser search syntax (e.g. -openhab.event) but neither worked. Before I open an issue, do I just no know the syntax or are negative matches not supported by the log viewer.

Note, I tried both in the full page viewer and the new log panel viewer.

I can definitely get by with only positive filters, but it would be so convenient to have negative filters too.

I can definitely get by with only positive filters, but it would be so convenient to have negative filters too.

and/ or multi keyword (indeed regex ?)

… and browser-side saving of up to 5 filters?:face_with_peeking_eye:
(Give us an inch, and we’ll take a mile…)

It would be nice that bulitin log viewer could use the same filter as frontail (log4j2.xml) or at least the same mechanism where I can define what I don’t want to see.

I created a feature request issue: Improved filtering for log viewer · Issue #4461 · openhab/openhab-webui · GitHub