[Spice-devel] RFC: Lightweight tracing mechanism
Victor Toso
victortoso at redhat.com
Fri Jun 9 10:56:06 UTC 2017
Hi,
On Fri, Jun 09, 2017 at 11:25:15AM +0200, Christophe de Dinechin wrote:
> Some interesting stuff in there. Victor, do you have a repository /
> branch where I could fetch that (even if it’s stale)?
https://cgit.freedesktop.org/~victortoso/spice-common/log/?h=logs
It was far from what I intended to have but I stopped it as WIP due the
introduction of structured logging mechanism in glib (2.50+) which it
should be *easier* to implement in spice-common and less work to
introduce each domain (widgets, audio, video, channel, etc)
If you haven't check that yet (I just started reading this thread) you
can have a quick introduction to it at the link below
https://blog.gtk.org/2017/05/04/logging-and-more/
Cheers,
PS: I would love doing more/better logs/debug while not showing all of
it all the time! :)
>
> Thanks
> Christophe
>
> > On 7 Jun 2017, at 17:39, Christophe Fergeau <cfergeau at redhat.com> wrote:
> >
> > On Wed, Jun 07, 2017 at 11:30:24AM -0400, Marc-André Lureau wrote:
> >> Or it's not performance-sensitive, and can be in production builds and
> >> printf/structured logging & grep/query are your best friends.
> >
> > Regarding structured logging, forgot if this old series from Victor has
> > been mentioned in this thread already or not
> > https://lists.freedesktop.org/archives/spice-devel/2016-January/025293.html
> >
> > Christophe
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170609/f9671851/attachment.sig>
More information about the Spice-devel
mailing list