Issue a message to the Server log when moving applications on the

embedded web server.
This commit is contained in:
hns 2002-07-12 19:17:20 +00:00
parent 6978b08841
commit 54f2a0e317

View file

@ -71,6 +71,7 @@ public class ApplicationManager {
if (mountpoint == null || "".equals (mountpoint.trim()))
mountpoint = "/"+URLEncoder.encode(appName);
if (!mountpoint.equals (oldMountpoint)) {
Server.getLogger().log("Moving application "+appName+" from "+oldMountpoint+" to "+mountpoint);
if ("/".equals (oldMountpoint))
server.websrv.removeDefaultServlet ();
else