Improve OpenVidu started message

pull/431/head
micaelgallego 2020-03-29 01:09:27 +01:00
parent edf1c70cf3
commit 35e4bf0eb7
1 changed files with 15 additions and 4 deletions

View File

@ -220,10 +220,21 @@ public class OpenViduServer implements JsonRpcConfigurer {
log.info("OpenVidu Server listening for client websocket connections on" log.info("OpenVidu Server listening for client websocket connections on"
+ (OpenViduServer.publicurlType.isEmpty() ? "" : (" " + OpenViduServer.publicurlType)) + " url " + (OpenViduServer.publicurlType.isEmpty() ? "" : (" " + OpenViduServer.publicurlType)) + " url "
+ OpenViduServer.wsUrl + WS_PATH); + OpenViduServer.wsUrl + WS_PATH);
final String NEW_LINE = System.lineSeparator();
String str = NEW_LINE + NEW_LINE + " OPENVIDU SERVER IP " + NEW_LINE + "--------------------------" String dashboardUrl = httpUrl+"dashboard/";
+ NEW_LINE + httpUrl + NEW_LINE + "--------------------------" + NEW_LINE;
log.info(str); String startMessage =
"\n\n----------------------------------------------------\n" +
"\n"+
" OpenVidu Platform is ready!\n" +
" ---------------------------\n" +
"\n"+
" * OpenVidu Server: " + httpUrl + "\n"+
"\n"+
" * OpenVidu Dashboard: " + dashboardUrl + "\n"+
"\n"+
"----------------------------------------------------\n";
log.info(startMessage);
} }
} }