diff options
Diffstat (limited to 'OpenSim/Region/Environment/StorageManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/StorageManager.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/StorageManager.cs b/OpenSim/Region/Environment/StorageManager.cs index 1c41373..f15bbdb 100644 --- a/OpenSim/Region/Environment/StorageManager.cs +++ b/OpenSim/Region/Environment/StorageManager.cs | |||
@@ -35,6 +35,8 @@ namespace OpenSim.Region.Environment | |||
35 | { | 35 | { |
36 | public class StorageManager | 36 | public class StorageManager |
37 | { | 37 | { |
38 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
39 | |||
38 | private IRegionDataStore m_dataStore; | 40 | private IRegionDataStore m_dataStore; |
39 | 41 | ||
40 | public IRegionDataStore DataStore | 42 | public IRegionDataStore DataStore |
@@ -49,7 +51,7 @@ namespace OpenSim.Region.Environment | |||
49 | 51 | ||
50 | public StorageManager(string dllName, string connectionstring, bool persistPrimInventories) | 52 | public StorageManager(string dllName, string connectionstring, bool persistPrimInventories) |
51 | { | 53 | { |
52 | MainLog.Instance.Verbose("DATASTORE", "Attempting to load " + dllName); | 54 | m_log.Info("[DATASTORE]: Attempting to load " + dllName); |
53 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); | 55 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); |
54 | 56 | ||
55 | foreach (Type pluginType in pluginAssembly.GetTypes()) | 57 | foreach (Type pluginType in pluginAssembly.GetTypes()) |
@@ -66,7 +68,7 @@ namespace OpenSim.Region.Environment | |||
66 | 68 | ||
67 | m_dataStore = plug; | 69 | m_dataStore = plug; |
68 | 70 | ||
69 | MainLog.Instance.Verbose("DATASTORE", "Added IRegionDataStore Interface"); | 71 | m_log.Info("[DATASTORE]: Added IRegionDataStore Interface"); |
70 | } | 72 | } |
71 | } | 73 | } |
72 | } | 74 | } |