[tracker/tracker-1.0] 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/tracker-1.0] libtracker-common: Enable G_MESSAGES_DEBUG for verbosity > 1, not 2
- Date: Fri, 22 Aug 2014 11:54:08 +0000 (UTC)
commit e7dd54cb4c0e2564ac996bac46e3d8a6e766da50
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]