[systemd-devel] sd_journal_add_match if not using the form of "FIELD=value"

Chris Morgan chmorgan at gmail.com
Fri Mar 6 18:28:14 PST 2015


http://www.freedesktop.org/software/systemd/man/sd_journal_add_match.html
is pretty clear that the matches are in the form of 'FIELD=value' but
it doesn't mention the why.

What if I've written a field like "FIELD", can I then match on it as "FIELD"?

I presume that sd_journal_add_match is doing an identical value match
that would preclude searching for "FIELD=value" using just "FIELD"?

Chris


More information about the systemd-devel mailing list