Skip to content

Commit aeaa864

Browse files
committed
dbeaver/pro#7850 Logging fix
1 parent bcda3e4 commit aeaa864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/bundles/io.cloudbeaver.server.ce/src/io/cloudbeaver/server/CBApplication.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ protected void startServer() {
282282
determineLocalAddresses();
283283
log.debug("\tLocal host addresses:");
284284
for (InetAddress ia : localInetAddresses) {
285-
log.debug("\t\t" + ia.getHostAddress() + " (" + ia.getCanonicalHostName() + ")");
285+
log.debug("\t\t" + ia.getHostAddress() +
286+
(Objects.equals(ia.getHostAddress(), ia.getCanonicalHostName()) ? "" : (" (" + ia.getCanonicalHostName() + ")")));
286287
}
287288
}
288289
{

0 commit comments

Comments
 (0)