Skip to content

Commit

Permalink
suppress jetty log initialization message
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Nov 28, 2024
1 parent e368680 commit 6f15bc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'com.sparrowwallet'
version = '1.0.4'
version = '1.0.5'

def secrets = new Properties()
file("publish.properties").withInputStream {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.eclipse.jetty.client.HttpClient;
import org.eclipse.jetty.client.ProxyConfiguration;
import org.eclipse.jetty.client.Socks4Proxy;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.eclipse.jetty.util.thread.ScheduledExecutorScheduler;
Expand All @@ -25,6 +26,10 @@ public class JettyHttpClientService implements IHttpClientService {
// limit changing Tor identity on network error every 4 minutes
private static final double RATE_CHANGE_IDENTITY_ON_NETWORK_ERROR = 1.0 / 240;

static {
Log.getProperties().setProperty("org.eclipse.jetty.util.log.announce", "false");
}

protected Map<HttpUsage, JettyHttpClient> httpClients; // used by Sparrow
private final IHttpProxySupplier httpProxySupplier;
private final long requestTimeout;
Expand Down

0 comments on commit 6f15bc6

Please sign in to comment.