if (getNodeAgentPropertyReader().isBound()) {
// go through domain.xm
com.sun.enterprise.config.serverbeans.NodeAgent nodeController =
getNodeAgentConfigBean(getConfigContext());
if (nodeController != null) {
LogService logService=nodeController.getLogService();
if (logService != null) {
// get logservice info from config beans
logFile=logService.getFile();
if (logFile == null) logFile = logFileDefault;
logFile = System.getProperty(logFile);
String logHandler = logService.getLogHandler();
String logLevel =
logService.getModuleLogLevels().getNodeAgent();
Handler[] handlers = getLogger().getHandlers();
if (bDebug) System.out.println("Log config number of " +
"handlers that currently exist:" + handlers.length +
" - " + logFile + " - " + logHandler + " - " +
logLevel);
// register default logger
registerLogger(Level.parse(logLevel), logFile);
// fix for CR# 6443219
configureSynchronizationLogger(
logService.getModuleLogLevels().getSynchronization());
}
}
} else {
// register default logger from nodeagent properties
registerLogger(Level.INFO, logFile);