Log when a valid shutdown command is received. This may help in tracking down "Tomcat...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Feb 2010 19:29:53 +0000 (19:29 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Feb 2010 19:29:53 +0000 (19:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@907768 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/LocalStrings.properties
java/org/apache/catalina/core/StandardServer.java

index 7f094bf..3b6c576 100644 (file)
@@ -191,6 +191,7 @@ standardPipeline.notStarted=Pipeline has not been started
 standardPipeline.noValve=No more Valves in the Pipeline processing this request
 standardServer.addContainer.ise=No connectors available to associate this container with
 standardServer.initialize.initialized=This server has already been initialized
+standardServer.shutdownViaPort=A valid shutdown command was received via the shutdown port. Stopping the Server instance.
 standardServer.start.connectors=At least one connector is not associated with any container
 standardServer.start.started=This server has already been started
 standardServer.stop.notStarted=This server has not yet been started
index d4ef06b..85bb84b 100644 (file)
@@ -445,6 +445,7 @@ public final class StandardServer
             // Match against our command string
             boolean match = command.toString().equals(shutdown);
             if (match) {
+                log.info(sm.getString("standardServer.shutdownViaPort"));
                 break;
             } else
                 log.warn("StandardServer.await: Invalid command '" +