OH 3 Correct way to filter logs in Karaf Consol

The karaf console isn’t a full POSIX environment so I can’t comment on how grep and piping works there.

However, all of these are also logged to files, namely openhab.log and events.log. See How to watch and look through logging for how to do it with “real” grep (or PowerShell if you are on Windows).