[Bug 26516] New: TpDebugSender log handler conflicts with tp_debug_timestamped_log_handler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 10 18:18:40 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26516

           Summary: TpDebugSender log handler conflicts with
                    tp_debug_timestamped_log_handler
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


tp_debug_timestamped_log_handler and tp_debug_sender_log_handler can't be used
at the same time. It'd probably be more useful to have some way to set up
tp_debug_sender_log_handler so it timestamps any messages that it sends to
stdout/stderr, perhaps via a function like

    void tp_debug_sender_set_timestamps (gboolean maybe);

which can be called conditionally on a FOO_TIMING environment variable.

Alternatively, since we're fetching a GTimeVal for the debug sender's benefit
*anyway*, we could just use timestamps unconditionally.


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



More information about the telepathy-bugs mailing list