Small pre-release tweak (#112)

* Log UI address on launch as in previous Play-based UI

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* Logging level tweak for UI

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* http not https

Signed-off-by: AlexDBlack <blacka101@gmail.com>
master
Alex Black 2019-12-05 20:59:46 +11:00 committed by GitHub
parent 2052ce7026
commit ef4d3ffee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -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<String> 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()) {