Log output from functional-tests is very noisy
If you run
meson test --verbose, you'll see that the functional test logs contain huge amounts of noise.
Some comes from the test helpers: we run with
TRACKER_TESTS_VERBOSE=1 which causes a lot of extra log output to be printed. We could disable this. If we do, it's important that developers know that the variable exists in case they need to debug problems in the test helpers.
The rest comes from
dbus-run-session. This includes output from the Tracker daemons, output from other daemons that are automatically started on the bus such as GVfs volume monitors, and output from the D-Bus daemon itself.
The D-Bus daemon output isn't useful, but it's impossible to disable without losing other log output too.
Some output from the other daemons is also hard to get rid of, for example many daemons in GVfs call
g_printerr(). Here's one example.
I'm currently trying an approach where we set
G_MESSAGES_PREFIXED=all. This results in all log messages from Tracker being prefixed by something like
(tracker-extract:5315). We could then filter out log lines that don't contain have this prefix, to see only messages from Tracker daemons.