[tracker/external-crawler: 10/27] libtracker-common: Enable G_MESSAGES_DEBUG for verbosity > 1, not 2



commit 65546e57207aac4a06a6b7a1a954794f6b537843
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]