Since I started looking at the nice filtering journalctl has for its output, this has been bothering me, but I haven't been able to find an answer in the man pages (or anywhere else). Is there a way, when calling journalctl, to filter by excluding certain items rather than specifying what to include and having journalctl exclude everything else? For example, to filter out messages from sudo in journalctl's output without touching anything else? And yes, I know it's possible to use --no-pager and pipe the output through grep -v or something similar, I'm just curious as to whether this is something the built-in filtering is capable of.
Are you looking for something like
# journalctl /usr/bin/sudo
Another example I want to see transmission-daemon logs only:
# journalctl /usr/bin/transmission-daemon
I saw these in the 'examples' section of the man page
Last edited by ixnine (2012-10-06 05:59:27)
Sorry about the delay, had some Problems with my internet connection for a few days. Those are examples that give you the output only from one thing, what I'm looking for is the other way around, something to give the output from everything except a specific thing.