[Spice-devel] [PATCH spice-common 0/4] RFC: add structured logging and log category

Christophe Fergeau cfergeau at redhat.com
Tue Jun 13 08:19:59 UTC 2017


On Tue, Jun 13, 2017 at 09:45:20AM +0200, Christophe de Dinechin wrote:
> > 5. The spice_log_init deals with hard-coded variables in a
> > hard-coded way. I purposely had a function taking a string, and
> > called either with env vars or command line options. I was thinking
> > long-term about other inputs, notably the client being able to send
> > debug options to the server.
> > 
> > 
> > Whoo, client sending debug options to the server? That is quite strange.
> 
> What I would like is to be able to enable collection of debug
> information (ideally on a per-session basis) without having to restart
> the server. Is that strange?

Let's first see if we manage to add useful debug logs to both the client
and the server, then we can look into adding this :) In the mean time,
this will probably be possible to do through a gdb script.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170613/d5923c0c/attachment.sig>


More information about the Spice-devel mailing list