[tracker/external-crawler: 10/45] libtracker-common: Enable G_MESSAGES_DEBUG for verbosity > 1, not 2
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/external-crawler: 10/45] libtracker-common: Enable G_MESSAGES_DEBUG for verbosity > 1, not 2
- Date: Tue, 12 Aug 2014 18:53:56 +0000 (UTC)
commit 40ded3c22172f5b35d2590c4f3b2756397aecea5
Author: Martyn Russell <martyn lanedo com>
Date: Fri May 9 14:54:35 2014 +0100
libtracker-common: Enable G_MESSAGES_DEBUG for verbosity > 1, not 2
g_info() or G_LOG_LEVEL_INFO requires this to see output.
src/libtracker-common/tracker-log.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-log.c b/src/libtracker-common/tracker-log.c
index b247882..d300ee7 100644
--- a/src/libtracker-common/tracker-log.c
+++ b/src/libtracker-common/tracker-log.c
@@ -192,7 +192,7 @@ tracker_log_init (gint this_verbosity,
/* If we have debug enabled, we imply G_MESSAGES_DEBUG or we
* see nothing, this came in since GLib 2.32.
*/
- if (this_verbosity > 2) {
+ if (this_verbosity > 1) {
g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]