}
}
}
if(this.loggers == null){
//istanzio la struttura e la popolo
this.loggers = new ArrayList();
for(Enumeration e = logManager.getLoggerNames();e.hasMoreElements();){
String logName = (String)e.nextElement();
try {
Logger theLogger = this.logManager.getLogger(logName);
//retrieving the level
Level level = getLevel(theLogger);
int loggerLevel = level.intValue();
//If the result is null, this logger's effective level will be inherited from its parent.
//The value is the one specified for the property level in the configuration file
if (logName == null || logName.length() == 0) {
// This is the ROOT Logger --> Use a non-empty predefined name
logName = DEFAULT_ROOT_LOGGER_NAME;
}
LoggerInfo logInfoElem = new LoggerInfo(logName, loggerLevel);
//if a FileHandler has been specified it's not possibile to retrieve the fileName
//retrieves all the handlers associated to the logger
//root handlers are inheredited by default
List loggerHandlers = (this.rootHandlers == null ? new ArrayList() : new ArrayList(this.rootHandlers));
//root logger handlers have been already set.
if(!logName.equals("")){
Handler[] handlers = theLogger.getHandlers();
//if an handler has been specified at runtime it will have a format
//i.e java.util.logging.FileHandler@1234556 so we remove the last part.