From 1b2c6c90c0f80a785731438cbcf94c8ddeca625e Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Mon, 27 Apr 2020 09:56:18 +0200 Subject: [PATCH] Reduce log output for price nodes In case a price feed has an error, a stacktrace dumped in the logs for each incoming getAllMarketPrice request. In detail, there is one line of log stating that there is a getAllMarketPrice request, one line of log stating that there is an error and around 150 lines of stracktrace. This fills up the logs quite fast, around 7.5G per day which is unnecessary. This commit only outputs the stacktrace in debug log configuration. --- .../src/main/java/bisq/price/spot/ExchangeRateService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pricenode/src/main/java/bisq/price/spot/ExchangeRateService.java b/pricenode/src/main/java/bisq/price/spot/ExchangeRateService.java index 2dec931462e..63a29633b71 100644 --- a/pricenode/src/main/java/bisq/price/spot/ExchangeRateService.java +++ b/pricenode/src/main/java/bisq/price/spot/ExchangeRateService.java @@ -84,7 +84,8 @@ private Map getMetadata(ExchangeRateProvider provider, Set