diff options
author | Justin Clark-Casey (justincc) | 2013-02-28 23:59:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-28 23:59:26 +0000 |
commit | faf96f5c854a9f928797f170b07c32236a7559e3 (patch) | |
tree | ecc09f461ca2281b7b9c4f8d7fb6d4127a354484 /OpenSim | |
parent | Fix potential concurrency issue since the LSL notecard cache was not being ch... (diff) | |
download | opensim-SC_OLD-faf96f5c854a9f928797f170b07c32236a7559e3.zip opensim-SC_OLD-faf96f5c854a9f928797f170b07c32236a7559e3.tar.gz opensim-SC_OLD-faf96f5c854a9f928797f170b07c32236a7559e3.tar.bz2 opensim-SC_OLD-faf96f5c854a9f928797f170b07c32236a7559e3.tar.xz |
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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 4 | ||||
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index c555915..137bd81 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -134,6 +134,10 @@ namespace OpenSim | |||
134 | /// <param name="configSource"></param> | 134 | /// <param name="configSource"></param> |
135 | public OpenSimBase(IConfigSource configSource) : base() | 135 | public OpenSimBase(IConfigSource configSource) : base() |
136 | { | 136 | { |
137 | // FIXME: This should be done down in ServerBase but we need to sort out and refactor the log4net | ||
138 | // XmlConfigurator calls first accross servers. | ||
139 | m_log.InfoFormat("[SERVER BASE]: Starting in {0}", m_startupDirectory); | ||
140 | |||
137 | LoadConfigSettings(configSource); | 141 | LoadConfigSettings(configSource); |
138 | } | 142 | } |
139 | 143 | ||
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index ecd69b0..5aff72a 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -186,6 +186,10 @@ namespace OpenSim.Server.Base | |||
186 | XmlConfigurator.Configure(); | 186 | XmlConfigurator.Configure(); |
187 | } | 187 | } |
188 | 188 | ||
189 | // FIXME: This should be done down in ServerBase but we need to sort out and refactor the log4net | ||
190 | // XmlConfigurator calls first accross servers. | ||
191 | m_log.InfoFormat("[SERVER BASE]: Starting in {0}", m_startupDirectory); | ||
192 | |||
189 | RegisterCommonAppenders(startupConfig); | 193 | RegisterCommonAppenders(startupConfig); |
190 | 194 | ||
191 | if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty) | 195 | if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty) |