LoggingUtils.initLogging(loader, loginfo.getLevel(), !loginfo.isStdOutLogging(),
location);
}
else {
//check for old style data directory
f = loader.find( "services.xml" );
if ( f != null ) {
LegacyLoggingImporter loggingImporter = new LegacyLoggingImporter();
loggingImporter.imprt(baseDir);
final String location = LoggingUtils.getLogFileLocation(loggingImporter.getLogFile(), null);
LoggingUtils.initLogging(loader, loggingImporter.getConfigFileName(), loggingImporter