summaryrefslogtreecommitdiff
path: root/HACKING.md
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-04-20 01:17:24 +0200
committerSam Thursfield <sam@afuera.me.uk>2020-04-20 19:29:38 +0200
commit5aac1111209caf33fa82acc0c206b3a2165cb76e (patch)
treee33969dca35ebc3b2e82aec90368c81f67f1730b /HACKING.md
parentc3a49219c57b605dcb7b7e6bbf889f9b2a4e1bab (diff)
downloadtracker-5aac1111209caf33fa82acc0c206b3a2165cb76e.tar.gz
Remove TRACKER_VERBOSITY and tracker-log module
Users should now use G_MESSAGES_DEBUG=Tracker to see debug messages on the console. The TRACKER_VERBOSITY only worked if tracker_log_init() had been called, which can't be done when libtracker-sparql is being used from an application outside of Tracker.
Diffstat (limited to 'HACKING.md')
-rw-r--r--HACKING.md12
1 files changed, 3 insertions, 9 deletions
diff --git a/HACKING.md b/HACKING.md
index 671d48195..61a40e192 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -31,17 +31,11 @@ OpenSuSE do automated whole-system testing that includes the GNOME desktop for t
The following environment variables control logging from Tracker daemons:
+ * `G_MESSAGES_DEBUG`: controls log output from all GLib-based libraries
+ in the current process. Use `G_MESSAGES_DEBUG=Tracker` to see Tracker
+ related messages, or `G_MESSAGES_DEBUG=all` to see everything.
* `TRACKER_DEBUG`: takes a comma-separated list of keywords to enable
extra debugging output. Use the keyword 'help' for a list of keywords.
- * `TRACKER_VERBOSITY`: takes a value of 1, 2 or 3 and causes increasing
- amounts of log output from Tracker code to be written to stdout.
- * `G_MESSAGES_DEBUG`: controls log output from GLib-based libraries that
- are used in the Tracker process. Use `G_MESSAGES_DEBUG=all` for maximal
- log output.
-
-Internally, Tracker will set `G_MESSAGES_DEBUG=Tracker` if `TRACKER_VERBOSITY`
-is set and `G_MESSAGES_DEBUG` is not set, to enable printing of its own log
-messages to stdout.
You can set these variables when using `tracker-sandbox`, and when running the
Tracker test suite. Note that Meson will not print log output from tests by