未验证 提交 d04f4b60 编写于 作者: L lcdrs 提交者: GitHub

[Implement][Common] Modify the plug-in loading log to print messages

Co-authored-by: Ncaoping <caoping@staff.weibo.com>
上级 a3e5dfc1
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册