Rosetta
Public Member Functions | Public Attributes | Private Member Functions | List of all members
pyrosetta.distributed.cluster.logging_support.LoggingSupport Class Reference
Inheritance diagram for pyrosetta.distributed.cluster.logging_support.LoggingSupport:
Inheritance graph
[legend]

Public Member Functions

None __init__ (self)
 

Public Attributes

 socket_listener
 

Private Member Functions

None _setup_logger (self)
 
None _close_logger (self)
 
Tuple[Tuple[str, int], bytes_setup_socket_listener (self, Dict[int, Client] clients)
 
None _register_socket_logger_plugin (self, Dict[int, Client] clients)
 
None _close_socket_listener (self, Dict[int, Client] clients)
 
None _close_socket_logger_plugins (self, Dict[int, Client] clients)
 
None _cooldown (self)
 

Detailed Description

Supporting logging methods for PyRosettaCluster.

Constructor & Destructor Documentation

◆ __init__()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport.__init__ (   self)
Log warnings from the warnings module.

Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().

Member Function Documentation

◆ _close_logger()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._close_logger (   self)
private
Close the logger for the client instance.

Referenced by pyrosetta.distributed.cluster.core.PyRosettaCluster._run().

◆ _close_socket_listener()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._close_socket_listener (   self,
Dict[int, Client]  clients 
)
private

◆ _close_socket_logger_plugins()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._close_socket_logger_plugins (   self,
Dict[int, Client]  clients 
)
private

◆ _cooldown()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._cooldown (   self)
private

◆ _register_socket_logger_plugin()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._register_socket_logger_plugin (   self,
Dict[int, Client]  clients 
)
private
Register `SocketLoggerPlugin` as a dask worker plugin on dask clients.

References pyrosetta.distributed.cluster.core.PyRosettaCluster.logging_level.

◆ _setup_logger()

None pyrosetta.distributed.cluster.logging_support.LoggingSupport._setup_logger (   self)
private

◆ _setup_socket_listener()

Tuple[Tuple[str, int], bytes] pyrosetta.distributed.cluster.logging_support.LoggingSupport._setup_socket_listener (   self,
Dict[int, Client]  clients 
)
private

Member Data Documentation

◆ socket_listener

pyrosetta.distributed.cluster.logging_support.LoggingSupport.socket_listener

The documentation for this class was generated from the following file: