Skip to content

Commit

Permalink
Fix API start up log (#7686)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi authored Nov 9, 2023
1 parent 4efc924 commit be3c490
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ protected SafeFuture<?> doStart() {
try {
passwordPath.ifPresent(this::checkAccessFile);
app.start();
final String serverHost = app.jettyServer().getServerHost();
LOG.info(
"Listening on http://{}:{}/",
serverHost != null ? serverHost : "localhost",
app.jettyServer().getServerPort());
LOG.info("Listening on {}", app.jettyServer().server().getURI());
} catch (final RuntimeException e) {
if (Throwables.getRootCause(e) instanceof BindException) {
throw new InvalidConfigurationException(
Expand Down

0 comments on commit be3c490

Please sign in to comment.