public void Initialize()
        {
            Stream loggingConfig = loggingConfigurationProvider.GetConfig();

            string logDir = GetLogDir();

            GlobalContext.Properties["LogDir"]      = logDir;
            GlobalContext.Properties["LogFileName"] = LogFileName(logDir);
            FallbackLoggingErrorHandler.Logger      = logger;

            XmlConfigurator.Configure(loggingConfig);
        }