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.
This commit is contained in:
Justin Clark-Casey (justincc)
2013-02-28 23:59:26 +00:00
parent 239a8da74e
commit faf96f5c85
2 changed files with 8 additions and 0 deletions

View File

@@ -186,6 +186,10 @@ namespace OpenSim.Server.Base
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);
if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty)