日志调整.

This commit is contained in:
aoshiguchen
2022-07-11 11:45:36 +08:00
parent aa709784c8
commit 85c6b06674
@@ -68,7 +68,7 @@ public class BeanWrapper implements LifeCycle {
return;
}
this.setStatus(BeanStatus.INIT);
log.info("Bean[type:{} name:{}]初始化...", getType().getName(), getName());
log.debug("Bean[type:{} name:{}]初始化...", getType().getName(), getName());
isInit = true;
Set<Method> methods = ReflectUtil.getMethods(type);
@@ -135,6 +135,7 @@ public class BeanWrapper implements LifeCycle {
}
this.setStatus(BeanStatus.RUNNING);
if (this.instance instanceof ApplicationRunner) {
log.debug("Bean[type:{} name:{}]运行...", getType().getName(), getName());
((ApplicationRunner)this.instance).run(args);
}
}