From ab83713a2c193332c0975bdf7bead7c35b5cdff5 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 3 Dec 2008 05:18:28 +0000 Subject: Make a couple log4net instances static readonly. --- OpenSim/Region/DataSnapshot/SnapshotStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/DataSnapshot/SnapshotStore.cs') diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs index 311350d..dd30d8a 100644 --- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs +++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs @@ -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 m_scenes = null; private List 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 m_gridinfo = null; private bool m_cacheEnabled = true; private string m_listener_port = "9000"; //TODO: Set default port over 9000 -- cgit v1.1