From ef4d3ffee823b50a77fbad81658401ed5c72fec0 Mon Sep 17 00:00:00 2001 From: Alex Black Date: Thu, 5 Dec 2019 20:59:46 +1100 Subject: [PATCH] Small pre-release tweak (#112) * Log UI address on launch as in previous Play-based UI Signed-off-by: AlexDBlack * Logging level tweak for UI Signed-off-by: AlexDBlack * http not https Signed-off-by: AlexDBlack --- .../src/main/java/org/deeplearning4j/ui/VertxUIServer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-vertx/src/main/java/org/deeplearning4j/ui/VertxUIServer.java b/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-vertx/src/main/java/org/deeplearning4j/ui/VertxUIServer.java index 2aec66a77..64b033133 100644 --- a/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-vertx/src/main/java/org/deeplearning4j/ui/VertxUIServer.java +++ b/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-vertx/src/main/java/org/deeplearning4j/ui/VertxUIServer.java @@ -254,6 +254,9 @@ public class VertxUIServer extends AbstractVerticle implements UIServer { uiEventRoutingThread = new Thread(new StatsEventRouterRunnable()); uiEventRoutingThread.setDaemon(true); uiEventRoutingThread.start(); + + String address = UIServer.getInstance().getAddress(); + log.info("Deeplearning4j UI server started at: {}", address); } private List extractArgsFromRoute(String path, RoutingContext rc) { @@ -317,7 +320,7 @@ public class VertxUIServer extends AbstractVerticle implements UIServer { @Override public String getAddress() { - return "https://localhost:" + server.actualPort(); + return "http://localhost:" + server.actualPort(); } @Override @@ -421,7 +424,7 @@ public class VertxUIServer extends AbstractVerticle implements UIServer { } private void runHelper() throws Exception { - log.info("VertxUIServer.StatsEventRouterRunnable started"); + log.trace("VertxUIServer.StatsEventRouterRunnable started"); //Idea: collect all event stats, and route them to the appropriate modules while (!shutdown.get()) {