Skip to content

Commit

Permalink
Hide warnings for unsupported Darkcoin messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Mar 24, 2015
1 parent 28feb1e commit 4e18871
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/coinswap/client/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import javafx.scene.image.Image;
import javafx.stage.WindowEvent;
import netscape.javascript.JSObject;
import org.apache.log4j.Level;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -64,6 +65,9 @@ public void start(Stage mainWindow) {
System.setProperty("logs.file", logPath);
log = LoggerFactory.getLogger(Main.class);

org.apache.log4j.Logger.getLogger(io.mappum.altcoinj.core.BitcoinSerializer.class).setLevel(Level.ERROR);
org.apache.log4j.Logger.getLogger(io.mappum.altcoinj.core.Peer.class).setLevel(Level.ERROR);

ui = new ClientUI();
ui.engine.getLoadWorker().stateProperty().addListener(new ChangeListener<Worker.State>() {
@Override
Expand Down

0 comments on commit 4e18871

Please sign in to comment.