Bug 38106 - Add a debug mechanism
Summary: Add a debug mechanism
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-farstream (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Olivier Crête
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 01:54 UTC by Emilio Pozuelo Monfort
Modified: 2012-03-26 16:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.