Package qb :: Module remoteMessaging :: Class RemoteMessagingStreamRequestHandler
[hide private]
[frames] | no frames]

Class RemoteMessagingStreamRequestHandler

source code


Handler for a streaming logging request.

This basically logs the record using whatever logging policy is configured locally.

Class Hierarchy for RemoteMessagingStreamRequestHandler
Class Hierarchy for RemoteMessagingStreamRequestHandler

Instance Methods [hide private]
 
handle(self)
Handle multiple requests - each expected to be encode the payload size in the first 4-bytes, followed by the LogRecord in pickle format.
source code
 
handleLogRecord(self, record)
Pass a LogRecord to the appropriate logging.Handler.
source code

Inherited from SocketServer.StreamRequestHandler: finish, setup

Inherited from SocketServer.BaseRequestHandler: __init__

Class Variables [hide private]

Inherited from SocketServer.StreamRequestHandler: disable_nagle_algorithm, rbufsize, timeout, wbufsize

Method Details [hide private]

handle(self)

source code 

Handle multiple requests - each expected to be encode the payload size in the first 4-bytes, followed by the LogRecord in pickle format. Logs the record according to whatever policy is configured locally.

Overrides: SocketServer.BaseRequestHandler.handle

handleLogRecord(self, record)

source code 

Pass a LogRecord to the appropriate logging.Handler.

Parameters:
  • record (logging.LogRecord) - The logRecord received over the socket.