diff options
Diffstat (limited to 'src/main/java/com/c2kernel/process/module/Module.java')
| -rw-r--r-- | src/main/java/com/c2kernel/process/module/Module.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/process/module/Module.java b/src/main/java/com/c2kernel/process/module/Module.java index ee6d71c..abcae2e 100644 --- a/src/main/java/com/c2kernel/process/module/Module.java +++ b/src/main/java/com/c2kernel/process/module/Module.java @@ -74,7 +74,7 @@ public class Module { public void importAll(ItemProxy serverEntity, String moduleXML) throws Exception {
addModuleItem(moduleXML);
for (ModuleImport thisImp : imports.list) {
- Logger.msg(5, "Importing "+thisImp.name+" "+thisImp.getClass().getSimpleName());
+ Logger.msg(1, "Checking for "+thisImp.name+" "+thisImp.getClass().getSimpleName());
if (thisImp instanceof ModuleResource) {
ModuleResource thisRes = (ModuleResource)thisImp;
try {
@@ -91,6 +91,7 @@ public class Module { Logger.msg(3, "Module.importAll() - Item '"+thisItem.name+"' found.");
continue;
} catch (ObjectNotFoundException ex) { }
+ Logger.msg("Module.importAll() - Item '"+thisItem.name+"' not found. Creating.");
thisItem.create(Gateway.getLDAPLookup().getRoleManager().getAgentPath("system").getSysKey());
}
else if (thisImp instanceof NewAgent) {
@@ -101,7 +102,6 @@ public class Module { continue;
} catch (ObjectNotFoundException ex) { }
Logger.msg("Module.importAll() - User '"+thisAgent.name+"' not found. Creating.");
-
thisAgent.create(Gateway.getLDAPLookup().getRoleManager().getAgentPath("system").getSysKey());
}
}
|
