mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
do not start log before knowing where to log
This commit is contained in:
@@ -172,8 +172,8 @@ namespace OpenSim
|
||||
|
||||
MainConsole.Instance = m_console;
|
||||
|
||||
LogEnvironmentInformation();
|
||||
RegisterCommonAppenders(Config.Configs["Startup"]);
|
||||
LogEnvironmentInformation();
|
||||
RegisterConsoleCommands();
|
||||
|
||||
base.StartupSpecific();
|
||||
|
||||
@@ -164,8 +164,8 @@ namespace OpenSim.Server.Base
|
||||
XmlConfigurator.Configure();
|
||||
}
|
||||
|
||||
LogEnvironmentInformation();
|
||||
RegisterCommonAppenders(startupConfig);
|
||||
LogEnvironmentInformation();
|
||||
|
||||
if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user