Bug 38106

Summary: Add a debug mechanism
Product: Telepathy Reporter: Emilio Pozuelo Monfort <pochu27>
Component: tp-farstreamAssignee: Olivier Crête <olivier.crete>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Emilio Pozuelo Monfort 2011-06-09 01:54:01 UTC
Right now farstream always spits debug messages. It should have a debug mechanism such as tp-glib's one so that it only prints debug messages when requested (e.g. when TPFS_DEBUG is set)
Comment 1 Olivier Crête 2011-06-09 04:31:44 UTC
Please push a modern debug framework into GLib! Otherwise I'll use GStreamer's
Comment 2 Jonny Lamb 2011-06-09 14:43:32 UTC
In fairness, GStreamer's is pretty sweet.
Comment 3 Simon McVittie 2011-06-10 00:09:55 UTC
Does GStreamer's debug mechanism eventually leave the process via g_debug? If so, Empathy would automatically get TpFs debug in its own debug window and available over D-Bus; if not, some way to hook GStreamer's debug mechanism into TpDebugSender would be nice.
Comment 4 Olivier Crête 2011-06-10 06:25:18 UTC
No, it doesn't use g_debug... going point to not use it.. this sucks :-(
Comment 5 Olivier Crête 2012-03-26 16:29:26 UTC
Well, it seems that this is fixed in GLib 2.32.. Debug messages should only show up with G_MESSAGES_DEBUG=tp-fs

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.