mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Make a couple log4net instances static readonly.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user