def get_log_conn(self):
        """
        Establish an AWS connection for retrieving logs during training

        :rtype: CloudWatchLogs.Client
        """
        config = botocore.config.Config(retries={'max_attempts': 15})
        return self.get_client_type('logs', config=config)
Establish an AWS connection for retrieving logs during training

        :rtype: CloudWatchLogs.Client