do not start log before knowing where to log

This commit is contained in:
UbitUmarov
2020-12-12 02:48:44 +00:00
parent c289030858
commit a8b4c359d9
2 changed files with 2 additions and 2 deletions

View File

@@ -172,8 +172,8 @@ namespace OpenSim
MainConsole.Instance = m_console;
LogEnvironmentInformation();
RegisterCommonAppenders(Config.Configs["Startup"]);
LogEnvironmentInformation();
RegisterConsoleCommands();
base.StartupSpecific();

View File

@@ -164,8 +164,8 @@ namespace OpenSim.Server.Base
XmlConfigurator.Configure();
}
LogEnvironmentInformation();
RegisterCommonAppenders(startupConfig);
LogEnvironmentInformation();
if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty)
{