diff --git a/src/main/java/com/sparrowwallet/sparrow/AppServices.java b/src/main/java/com/sparrowwallet/sparrow/AppServices.java index f3765802..2c4f2f7c 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppServices.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppServices.java @@ -950,7 +950,7 @@ public class AppServices { public void walletHistoryFailed(WalletHistoryFailedEvent event) { if(Config.get().getServerType() == ServerType.PUBLIC_ELECTRUM_SERVER && isConnected()) { onlineProperty.set(false); - log.info("Failed to fetch wallet history from " + Config.get().getServerAddress() + ", reconnecting to another server..."); + log.warn("Failed to fetch wallet history from " + Config.get().getServerAddress() + ", reconnecting to another server..."); Config.get().changePublicServer(); onlineProperty.set(true); } diff --git a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java index 2232625a..edb4b1be 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java @@ -283,7 +283,7 @@ public class Bwt { @Override public void onHttpReady(String addr) { - log.info("http ready at " + addr); + log.debug("http ready at " + addr); } @Override diff --git a/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java b/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java index afb59989..16213b15 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java @@ -93,7 +93,7 @@ public class TcpTransport implements Transport, Closeable { try { if(!readLock.tryLock((BASE_READ_TIMEOUT_SECS[readTimeoutIndex] * 1000) + (requestIdCount * PER_REQUEST_READ_TIMEOUT_MILLIS), TimeUnit.MILLISECONDS)) { readTimeoutIndex = Math.min(readTimeoutIndex + 1, BASE_READ_TIMEOUT_SECS.length - 1); - log.info("No response from server, setting read timeout to " + BASE_READ_TIMEOUT_SECS[readTimeoutIndex] + " secs"); + log.warn("No response from server, setting read timeout to " + BASE_READ_TIMEOUT_SECS[readTimeoutIndex] + " secs"); throw new IOException("No response from server"); } } catch(InterruptedException e) { diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index f429a119..26e918fb 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -37,6 +37,7 @@ + @@ -65,7 +66,7 @@ - +