Skip to content

Commit f938815

Browse files
[fix] metricpath warning was too verbose. Fixing overall log level also (#173)
* [add] metricpath warning was too verbose.
1 parent 7923bca commit f938815

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <[email protected]>"]
66
readme = "README.md"

redisbench_admin/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
from redisbench_admin.watchdog.watchdog import watchdog_command_logic
2727

2828

29-
LOG_LEVEL = logging.INFO
29+
LOG_LEVEL = logging.DEBUG
3030
if os.getenv("VERBOSE", "1") == "0":
31-
LOG_LEVEL = logging.WARN
31+
LOG_LEVEL = logging.INFO
3232
LOG_FORMAT = "%(asctime)s %(levelname)-4s %(message)s"
3333
LOG_DATEFMT = "%Y-%m-%d %H:%M:%S"
3434

redisbench_admin/utils/remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def extract_perversion_timeseries_from_results(
532532
}
533533
else:
534534
logging.warning(
535-
"Unable to find metric path {} in {}".format(jsonpath, results_dict)
535+
"Unable to find metric path {} in result dict".format(jsonpath)
536536
)
537537
return True, branch_time_series_dict
538538

@@ -599,7 +599,7 @@ def extract_perbranch_timeseries_from_results(
599599
}
600600
else:
601601
logging.warning(
602-
"Unable to find metric path {} in {}".format(jsonpath, results_dict)
602+
"Unable to find metric path {} in result dict".format(jsonpath)
603603
)
604604
return True, branch_time_series_dict
605605

0 commit comments

Comments
 (0)