mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
change default log level to warn
This commit is contained in:
parent
427a6925ee
commit
7a3e1dfa1f
4 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
<logger name="org.springframework.core.KotlinDetector" level="OFF" />
|
||||
<logger name="org.springframework.http.converter.json.Jackson2ObjectMapperBuilder" level="OFF" />
|
||||
<logger name="org.springframework.web.HttpLogging" level="OFF" />
|
||||
<logger name="com.sparrowwallet.nightjar.stomp.JavaStompClient" level="OFF" />
|
||||
|
||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
|
||||
|
||||
|
@ -65,7 +66,7 @@
|
|||
<appender-ref ref="APPLICATION_TOR" />
|
||||
</logger>
|
||||
|
||||
<root level="info">
|
||||
<root level="warn">
|
||||
<appender-ref ref="FILE" />
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
|
Loading…
Reference in a new issue