diff options
author | Jeff Ames | 2008-02-05 19:44:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-05 19:44:27 +0000 |
commit | 6ed5283bc06a62f38eb517e67b975832b603bf61 (patch) | |
tree | e5f635018789b73a99ddeca0883a68368fa5eece /OpenSim/Framework/Configuration/HTTP | |
parent | Cut down on the number of packets sent during terraforming. Terraforming shou... (diff) | |
download | opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.zip opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.gz opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.bz2 opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.xz |
Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
Diffstat (limited to 'OpenSim/Framework/Configuration/HTTP')
-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); |