コード例 #1
0
 def change_log_location(self):
     for server in self.cluster.servers:
         remote_client = RemoteMachineShellConnection(server)
         remote_client.stop_couchbase()
         remote_client.configure_log_location(self.log_location)
         remote_client.start_couchbase()
         remote_client.disconnect()
     self.log.info("========= CHANGED LOG LOCATION ===========")
コード例 #2
0
 def change_log_location(self):
     for server in self.servers:
         remote_client = RemoteMachineShellConnection(server)
         remote_client.stop_couchbase()
         remote_client.configure_log_location(self.log_location)
         remote_client.start_couchbase()
         remote_client.disconnect()
     self.log.info("========= CHANGED LOG LOCATION ===========")