Make a couple log4net instances static readonly.
							parent
							
								
									d324389dd9
								
							
						
					
					
						commit
						ab83713a2c
					
				|  | @ -42,7 +42,7 @@ namespace OpenSim.Region.DataSnapshot | |||
|         private String m_directory = "unyuu"; //not an attempt at adding RM references to core SVN, honest | ||||
|         private Dictionary<Scene, bool> m_scenes = null; | ||||
|         private List<IDataSnapshotProvider> m_providers = null; | ||||
|         private log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||||
|         private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||||
|         private Dictionary<String, String> m_gridinfo = null; | ||||
|         private bool m_cacheEnabled = true; | ||||
|         private string m_listener_port = "9000"; //TODO: Set default port over 9000 | ||||
|  |  | |||
|  | @ -45,7 +45,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver | |||
| { | ||||
|     public class InventoryArchiveReadRequest | ||||
|     { | ||||
|         private static ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||||
|         private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||||
|          | ||||
|         protected Scene scene; | ||||
|         protected TarArchiveReader archive; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Jeff Ames
						Jeff Ames