ClassLoader realClassLoader = persistenceUnitInfo.getClassLoader();
updateServerPlatform(predeployProperties, realClassLoader);
// Update loggers and settings for the singleton logger and the session logger.
updateLoggers(predeployProperties, true, realClassLoader);
// Get the temporary classLoader based on the platform
JPAClassLoaderHolder privateClassLoaderHolder = session.getServerPlatform().getNewTempClassLoader(info);
privateClassLoader = privateClassLoaderHolder.getClassLoader();
//Update performance profiler
updateProfiler(predeployProperties,realClassLoader);
// Cannot start logging until session and log and initialized, so log start of predeploy here.