[Bug 27889] Use more log levels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 29 15:22:56 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27889

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
  Status Whiteboard|                            |review+
         AssignedTo|telepathy-bugs at lists.freede |jonny.lamb at collabora.co.uk
                   |sktop.org                   |

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-04-29 06:22:55 PDT ---
This makes sense, although perhaps gabble_debug() should also be renamed to
gabble_log().

Could you do something similar in telepathy-glib's debug-internal.h?

We could benefit from some sort of policy for what level to use where -
extremes are Mission Control (which emits a g_warning on some relatively normal
conditions, like a channel request failing) and e.g. Gabble (which criticals
when API is used wrong, but basically never warns). I think the correct policy
is somewhere in between.

(Note that warnings can be made fatal in the environment, which we do in most
non-MC regression tests - it'd probably be better for MC to do a MESSAGE or
INFO on failed channel requests, for this reason.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list