summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 14:06:34 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 14:06:34 +0200
commit10613bd90112a952769db7d34d9e802c9db7f4ac (patch)
treeb4c245c2283c0d02c1467253c5b9405d0d3bfc46 /src
parent50efd39bbc95cd25d5b22f9b2fb2ef447c502147 (diff)
downloadtelepathy-logger-10613bd90112a952769db7d34d9e802c9db7f4ac.tar.gz
always send debug messages to the debugger
The comment was actually false, this is the only place where we send messages to the debugger.
Diffstat (limited to 'src')
-rw-r--r--src/telepathy-logger.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/telepathy-logger.c b/src/telepathy-logger.c
index cd6daa6..e0976cd 100644
--- a/src/telepathy-logger.c
+++ b/src/telepathy-logger.c
@@ -84,9 +84,7 @@ log_handler (const gchar *log_domain,
g_log_default_handler (log_domain, log_level, message, NULL);
}
- /* messages are already sent to the debug sender in gabble_debug. */
- if (log_level != G_LOG_LEVEL_DEBUG || tp_strdiff (log_domain, G_LOG_DOMAIN))
- log_to_debug_sender (log_domain, log_level, message);
+ log_to_debug_sender (log_domain, log_level, message);
}
#endif /* ENABLE_DEBUG */