Logging

For usage related information, see logging usage.

The logging modules are used for sending log events to the peer.

It is generally used for sending client log messages to the server, but it can also be used in the opposite direction.

Implementations

The prefix for all packets and capabilities is logging.

| Component | Link | |-------------------|----------------------------------------------------------------------------------------------------------| | client | xpra.client.mixins.logging | | client connection | none | | server | xpra.server.mixins.logging |

Capabilities

The server exposes two flags using the remote-logging capability prefix:

Network Packets

| Packet Type | Arguments | Direction | |-------------------|----------------------------------------------------------------------------------|------------------| | logging-event | level : integermessage : string or list of stringstime : integer | both | | logging-control | action : string, only either start or stop | client to server |

The logging packets can be sent to the server if it exposes the receive capability, or sent from the server to the client following a start logging-control request.