logs improved
This commit is contained in:
parent
b65fe507af
commit
bdbbd55d8c
|
@ -59,7 +59,7 @@ public class ContextListener implements ServletContextListener {
|
||||||
Set<Class<? extends ApplicationManager>> managers = new HashSet<Class<? extends ApplicationManager>>();
|
Set<Class<? extends ApplicationManager>> managers = new HashSet<Class<? extends ApplicationManager>>();
|
||||||
for (Class<?> initializer: toInitialize ){
|
for (Class<?> initializer: toInitialize ){
|
||||||
ManagedBy manageBy = initializer.getAnnotation(ManagedBy.class);
|
ManagedBy manageBy = initializer.getAnnotation(ManagedBy.class);
|
||||||
log.info("ApplicationManager added {} @ {}", manageBy.value().getSimpleName(), context.name());
|
log.info("ApplicationManager added {} to {} @ {}", manageBy.value().getSimpleName(), initializer.getSimpleName(), context.name());
|
||||||
managers.add(manageBy.value());
|
managers.add(manageBy.value());
|
||||||
}
|
}
|
||||||
if (managers.size()>0){
|
if (managers.size()>0){
|
||||||
|
|
Loading…
Reference in New Issue