Logo Search packages:      
Sourcecode: paramiko version File versions  Download package

def paramiko::transport::Transport::set_log_channel (   self,
  name 
)

Set the channel for this transport's logging.  The default is
C{"paramiko.transport"} but it can be set to anything you want.
(See the C{logging} module for more info.)  SSH Channels will log
to a sub-channel of the one specified.

@param name: new channel name for logging.
@type name: str

@since: 1.1

Definition at line 1115 of file transport.py.

01115                                    :
        """
        Set the channel for this transport's logging.  The default is
        C{"paramiko.transport"} but it can be set to anything you want.
        (See the C{logging} module for more info.)  SSH Channels will log
        to a sub-channel of the one specified.

        @param name: new channel name for logging.
        @type name: str

        @since: 1.1
        """
        self.log_name = name
        self.logger = util.get_logger(name)

    def get_log_channel(self):


Generated by  Doxygen 1.6.0   Back to index