Reducing message from stop() to FINE.

Normally this is only printed during functional tests or during in-process restart.
In neither case do we really want to see a log message (i.e. two lines of text) for each plugin in the system being stopped.
This commit is contained in:
Jesse Glick committed 2013-11-11 13:17:59 -05:00
1 parent f3fa56be50
commit 7ff65c5674
1 file changed
+2 -1
+2 -1
View File
@@ -54,6 +54,7 @@ import org.kohsuke.stapler.interceptor.RequirePOST;
import java.util.Enumeration;
import java.util.jar.JarFile;
import java.util.logging.Level;
/**
* Represents a Jenkins plug-in and associated control information
@@ -372,7 +373,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
* Terminates the plugin.
*/
public void stop() {
LOGGER.info("Stopping "+shortName);
LOGGER.log(Level.FINE, "Stopping {0}", shortName);
try {
getPlugin().stop();
} catch(Throwable t) {