Xpra: Ticket #411: better debugging and logging tools

See wiki/Debugging

At the moment, we rely on:

We need environment variables for 2 reasons:

We want:

How:



Fri, 15 Nov 2013 14:14:15 GMT - Antoine Martin: milestone changed

too late for 0.11


Mon, 20 Jan 2014 11:13:55 GMT - Antoine Martin: owner, status changed


Fri, 07 Feb 2014 12:40:13 GMT - Antoine Martin:

First step in r5379 (very large changeset - see commit message), and more in r5381, r5382, r5383

Still left TODO:


Fri, 14 Feb 2014 11:30:51 GMT - Antoine Martin: owner, status changed

I've ran some benchmarks, it looks good after r5466, the wiki has been updated: wiki/Logging.

smo/afarr: I am assigning it to you so you are aware of the new features, feel free to close as an ACK. It is particularly useful for debugging specific problems *after* starting the server, as one can just run:

xpra control :10 debug enable focus

And to verify:

xpra control :10 debug status

Fri, 07 Mar 2014 00:37:24 GMT - Smo: status changed; resolution set

Thanks works well.

sh-4.2$ xpra list
Found the following xpra sessions:
        LIVE session at :15
sh-4.2$ xpra control :15 debug status
logging is enabled for: []
sh-4.2$ xpra control :15 debug enable focus
logging enabled for focus
sh-4.2$ xpra control :15 debug status
logging is enabled for: ['Logger(xpra.x11.server, server, focus)', 'Logger(xpra.x11.gtk_x11.send_wm, x11, focus)', 'Logger(xpra.x11.gtk_x11.wm, x11, window, focus)', 'Logger(xpra.x11.gtk_x11.world_window, x11, window, focus)', 'Logger(xpra.server.server_base, focus)', 'Logger(xpra.x11.gtk_x11.window, x11, window, focus)']
sh-4.2$ xpra control :15 debug disable focus
logging disabled for focus

Sat, 23 Jan 2021 04:54:38 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/411