From c4c581525a117793773cbcc9b0d1c057191293f2 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 17 Oct 2022 13:30:21 +0200 Subject: [PATCH] remove stdout appender in terminal mode --- drongo | 2 +- src/main/java/com/sparrowwallet/sparrow/SparrowWallet.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drongo b/drongo index f183146d..7c34ec7c 160000 --- a/drongo +++ b/drongo @@ -1 +1 @@ -Subproject commit f183146d13c61f71ee6df77bf40a56677077ab6b +Subproject commit 7c34ec7c3b818634b7819f1b27a5f9c57f5554c8 diff --git a/src/main/java/com/sparrowwallet/sparrow/SparrowWallet.java b/src/main/java/com/sparrowwallet/sparrow/SparrowWallet.java index 35ea0d13..916704d9 100644 --- a/src/main/java/com/sparrowwallet/sparrow/SparrowWallet.java +++ b/src/main/java/com/sparrowwallet/sparrow/SparrowWallet.java @@ -88,6 +88,7 @@ public class SparrowWallet { if(args.terminal || java.awt.GraphicsEnvironment.isHeadless()) { PlatformImpl.setTaskbarApplication(false); + Drongo.removeRootLogAppender("STDOUT"); com.sun.javafx.application.LauncherImpl.launchApplication(SparrowTerminal.class, SparrowWalletPreloader.class, argv); } else { com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);