Xpra: Ticket #131: Log date and time of connection

Xpra doesn't log *when* a connection happens nor when it closes. Adding timestamps would be great.



Sun, 03 Jun 2012 17:50:09 GMT - Antoine Martin: status changed

As per logging-cookbook, it should be a simple matter of adding a formatter to all logging:

formatter = logging.Formatter('%(asctime)s %(message)s')
fh.setFormatter(formatter)

Two caveats:


Mon, 23 Jul 2012 17:59:52 GMT - Antoine Martin: status changed; resolution set

done in r1172


Wed, 01 Aug 2012 16:50:11 GMT - Antoine Martin:

And... it's never as simple as one changeset is it?

r1251 uses the old logger for commands like "version" and "info" so we don't break parsing!


Sat, 23 Jan 2021 04:46:23 GMT - migration script:

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