From d04f4b60535cd86905e56b0a732f2ec038680eb7 Mon Sep 17 00:00:00 2001 From: lcdrs <40586262+lcdrs@users.noreply.github.com> Date: Thu, 13 May 2021 16:26:21 +0800 Subject: [PATCH] [Implement][Common] Modify the plug-in loading log to print messages Co-authored-by: caoping --- .../dolphinscheduler/common/plugin/DolphinPluginLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/plugin/DolphinPluginLoader.java b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/plugin/DolphinPluginLoader.java index 02940da466..2bee396ee1 100644 --- a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/plugin/DolphinPluginLoader.java +++ b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/plugin/DolphinPluginLoader.java @@ -93,12 +93,12 @@ public class DolphinPluginLoader { private void loadPlugin(String plugin) throws Exception { - logger.info("-- Loading Alert plugin {} --", plugin); + logger.info("-- Loading plugin {} --", plugin); URLClassLoader pluginClassLoader = buildPluginClassLoader(plugin); try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(pluginClassLoader)) { loadPlugin(pluginClassLoader); } - logger.info("-- Finished loading Alert plugin {} --", plugin); + logger.info("-- Finished loading plugin {} --", plugin); } private void loadPlugin(URLClassLoader pluginClassLoader) {