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
- status
changed from new to accepted
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:
- this applies to handlers, not loggers..
- winswitch may not be able to parse those messages correctly, this will need to be checked first (and push an update with a version check bump if needed)
Mon, 23 Jul 2012 17:59:52 GMT - Antoine Martin: status changed; resolution set
- status
changed from accepted to closed
- resolution
set to fixed
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