diff options
Diffstat (limited to 'OpenSim/Framework/Configuration')
-rw-r--r-- | OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs index e27c88b..a657c3a 100644 --- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs +++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |||
@@ -35,6 +35,8 @@ namespace OpenSim.Framework.Configuration.HTTP | |||
35 | { | 35 | { |
36 | public class HTTPConfiguration : IGenericConfig | 36 | public class HTTPConfiguration : IGenericConfig |
37 | { | 37 | { |
38 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
39 | |||
38 | private RemoteConfigSettings remoteConfigSettings; | 40 | private RemoteConfigSettings remoteConfigSettings; |
39 | 41 | ||
40 | private XmlConfiguration xmlConfig; | 42 | private XmlConfiguration xmlConfig; |
@@ -81,7 +83,7 @@ namespace OpenSim.Framework.Configuration.HTTP | |||
81 | } | 83 | } |
82 | catch (WebException) | 84 | catch (WebException) |
83 | { | 85 | { |
84 | MainLog.Instance.Warn("Unable to connect to remote configuration file (" + | 86 | m_log.Warn("Unable to connect to remote configuration file (" + |
85 | remoteConfigSettings.baseConfigURL + configFileName + | 87 | remoteConfigSettings.baseConfigURL + configFileName + |
86 | "). Creating local file instead."); | 88 | "). Creating local file instead."); |
87 | xmlConfig.SetFileName(configFileName); | 89 | xmlConfig.SetFileName(configFileName); |