From 4d0cb01f6f611e97e771ac7b76096f22a6b9711c Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Tue, 5 Nov 2024 14:13:24 -0800 Subject: [PATCH] Remove unnecessary logging Signed-off-by: Vijayan Balasubramanian --- osbenchmark/workload/params.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/osbenchmark/workload/params.py b/osbenchmark/workload/params.py index 92cc61c9..9ba99f71 100644 --- a/osbenchmark/workload/params.py +++ b/osbenchmark/workload/params.py @@ -1122,11 +1122,6 @@ def _update_body_params(self, vector): body_params = self.query_params.get(self.PARAMS_NAME_BODY) or dict() if self.PARAMS_NAME_SIZE not in body_params: body_params[self.PARAMS_NAME_SIZE] = self.k - if self.PARAMS_NAME_QUERY in body_params: - self.logger.warning( - "[%s] param from body will be replaced with vector search query.", self.PARAMS_NAME_QUERY) - - self.logger.info("Here, we have query_params: %s ", self.query_params) filter_type=self.query_params.get(self.PARAMS_NAME_FILTER_TYPE) filter_body=self.query_params.get(self.PARAMS_NAME_FILTER_BODY) efficient_filter = filter_body if filter_type == "efficient" else None @@ -1326,8 +1321,6 @@ def bulk_transform_add_attributes(self, partition: np.ndarray, action, attribute bulk_contents.append(row) actions[1::2] = bulk_contents - - self.logger.info("Actions: %s", actions) return actions @@ -1353,8 +1346,6 @@ def bulk_transform_non_nested(self, partition: np.ndarray, action) -> List[Dict[ bulk_contents.append(row) actions[1::2] = bulk_contents - - self.logger.info("Actions: %s", actions) return actions