Skip to content

Commit 09b1ad9

Browse files
committed
remove logging
1 parent 5060ee3 commit 09b1ad9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/performance2/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,15 @@ define generate_locust_config
4444
echo "[locust]" >> $(LOCUST_CONFIG_FILE)$(1); \
4545
echo "locustfile = ./locustfiles/deployment_max_rps_single_endpoint.py" >> $(LOCUST_CONFIG_FILE)$(1); \
4646
if [ -f $(LOCUST_CONFIG_FILE) ]; then \
47-
echo "host = $$(grep "host = " $(LOCUST_CONFIG_FILE) | cut -d= -f2 | xargs)" >> $(LOCUST_CONFIG_FILE)$(1); \
47+
echo "host = $$(grep \"host = \" $(LOCUST_CONFIG_FILE) | cut -d= -f2 | xargs)" >> $(LOCUST_CONFIG_FILE)$(1); \
4848
else \
4949
echo "host = $(DEFAULT_HOST)" >> $(LOCUST_CONFIG_FILE)$(1); \
5050
fi; \
5151
echo "users = $(3)" >> $(LOCUST_CONFIG_FILE)$(1); \
5252
echo "spawn-rate = $(4)" >> $(LOCUST_CONFIG_FILE)$(1); \
5353
echo "run-time = $(5)" >> $(LOCUST_CONFIG_FILE)$(1); \
5454
echo "processes = $(2)" >> $(LOCUST_CONFIG_FILE)$(1); \
55-
echo "" >> $(LOCUST_CONFIG_FILE)$(1); \
56-
echo "[logging]" >> $(LOCUST_CONFIG_FILE)$(1); \
57-
echo "level = INFO" >> $(LOCUST_CONFIG_FILE)$(1);
55+
echo "" >> $(LOCUST_CONFIG_FILE)$(1);
5856
endef
5957

6058
# Function to create or update Locust configuration with user input
@@ -83,8 +81,6 @@ define create_locust_config
8381
echo "run-time = $$run_time" >> $(LOCUST_CONFIG_FILE); \
8482
echo "processes = $$processes" >> $(LOCUST_CONFIG_FILE); \
8583
echo "" >> $(LOCUST_CONFIG_FILE); \
86-
echo "[logging]" >> $(LOCUST_CONFIG_FILE); \
87-
echo "level = INFO" >> $(LOCUST_CONFIG_FILE); \
8884
printf "$(GREEN)Locust configuration file created. It won't be asked again.$(NC)\n"; \
8985
else \
9086
printf "$(GREEN)Using existing Locust configuration file $(LOCUST_CONFIG_FILE)$(NC)\n"; \

0 commit comments

Comments
 (0)