From b132b90b0353d2130a784f34ad0841b004a118b8 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 29 Oct 2014 15:49:23 -0700 Subject: [PATCH] Simplifying warning message --- .../java/org/eclipse/jetty/server/HomeBaseWarning.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HomeBaseWarning.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HomeBaseWarning.java index fb294a0efe2..5b8689189e1 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HomeBaseWarning.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HomeBaseWarning.java @@ -67,11 +67,8 @@ public class HomeBaseWarning if (showWarn) { StringBuilder warn = new StringBuilder(); - warn.append("This instance of Jetty is running directly from {jetty.home} at "); - warn.append(homePath.toAbsolutePath().toString()); - warn.append(", this is not recommended.").append(System.lineSeparator()); - warn.append("Please setup a separate {jetty.base} directory to manage your configuration.").append(System.lineSeparator()); - warn.append("See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html"); + warn.append("This instance of Jetty is not running from a separate {jetty.base} directory"); + warn.append(", this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html"); LOG.warn("{}",warn.toString()); } }