minor: Log location in which simulator/robust was started.

Useful information for system debugging, especially if logging and ini files locations have been changed from defaults.
0.7.4-extended
Justin Clark-Casey (justincc) 2013-02-28 23:59:26 +00:00
parent eab30e4b49
commit b265eefd01
2 changed files with 9 additions and 1 deletions

View File

@ -142,6 +142,10 @@ namespace OpenSim
/// <param name="configSource"></param> /// <param name="configSource"></param>
public OpenSimBase(IConfigSource configSource) : base() public OpenSimBase(IConfigSource configSource) : base()
{ {
// FIXME: This should be done down in ServerBase but we need to sort out and refactor the log4net
// XmlConfigurator calls first accross servers.
m_log.InfoFormat("[SERVER BASE]: Starting in {0}", m_startupDirectory);
LoadConfigSettings(configSource); LoadConfigSettings(configSource);
} }

View File

@ -178,6 +178,10 @@ namespace OpenSim.Server.Base
XmlConfigurator.Configure(); XmlConfigurator.Configure();
} }
// FIXME: This should be done down in ServerBase but we need to sort out and refactor the log4net
// XmlConfigurator calls first accross servers.
m_log.InfoFormat("[SERVER BASE]: Starting in {0}", m_startupDirectory);
RegisterCommonAppenders(startupConfig); RegisterCommonAppenders(startupConfig);
if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty) if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty)
@ -242,4 +246,4 @@ namespace OpenSim.Server.Base
{ {
} }
} }
} }