remove stdout appender in terminal mode

This commit is contained in:
Craig Raw 2022-10-17 13:30:21 +02:00
parent d6a3824690
commit c4c581525a
2 changed files with 2 additions and 1 deletions

2
drongo

@ -1 +1 @@
Subproject commit f183146d13c61f71ee6df77bf40a56677077ab6b Subproject commit 7c34ec7c3b818634b7819f1b27a5f9c57f5554c8

View file

@ -88,6 +88,7 @@ public class SparrowWallet {
if(args.terminal || java.awt.GraphicsEnvironment.isHeadless()) { if(args.terminal || java.awt.GraphicsEnvironment.isHeadless()) {
PlatformImpl.setTaskbarApplication(false); PlatformImpl.setTaskbarApplication(false);
Drongo.removeRootLogAppender("STDOUT");
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowTerminal.class, SparrowWalletPreloader.class, argv); com.sun.javafx.application.LauncherImpl.launchApplication(SparrowTerminal.class, SparrowWalletPreloader.class, argv);
} else { } else {
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv); com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);