diff options
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs index 1c0fca7..70322e4 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs | |||
@@ -28,13 +28,16 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | using System; | 30 | using System; |
31 | using System.Reflection; | ||
31 | using OpenMetaverse; | 32 | using OpenMetaverse; |
32 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using log4net; | ||
33 | 35 | ||
34 | namespace OpenSim.Grid.AssetInventoryServer.Plugins | 36 | namespace OpenSim.Grid.AssetInventoryServer.Plugins |
35 | { | 37 | { |
36 | public class AuthorizeAllPlugin : IAuthorizationProvider | 38 | public class AuthorizeAllPlugin : IAuthorizationProvider |
37 | { | 39 | { |
40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
38 | AssetInventoryServer server; | 41 | AssetInventoryServer server; |
39 | 42 | ||
40 | public AuthorizeAllPlugin() | 43 | public AuthorizeAllPlugin() |
@@ -47,7 +50,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
47 | { | 50 | { |
48 | this.server = server; | 51 | this.server = server; |
49 | 52 | ||
50 | Logger.Log.Info("[ASSET] Authorize All loaded."); | 53 | m_log.Info("[ASSET] Authorize All loaded."); |
51 | } | 54 | } |
52 | 55 | ||
53 | /// <summary> | 56 | /// <summary> |
@@ -55,7 +58,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
55 | /// </summary> | 58 | /// </summary> |
56 | public void Initialise() | 59 | public void Initialise() |
57 | { | 60 | { |
58 | Logger.Log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name); | 61 | m_log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name); |
59 | throw new PluginNotInitialisedException(Name); | 62 | throw new PluginNotInitialisedException(Name); |
60 | } | 63 | } |
61 | 64 | ||