From 5277fc64c07da92014e749be40aa837193a26495 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 16 Feb 2009 02:27:43 +0000 Subject: - change AssetInventoryServer config from XML to INI - convert AssetInventoryServer logging to OpenSim's log4net - updated AssetInventoryServer.ini.example file --- .../Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs') diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs index ccb21b0..92caa04 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs @@ -28,13 +28,16 @@ */ using System; +using System.Reflection; using OpenMetaverse; using OpenSim.Framework; +using log4net; namespace OpenSim.Grid.AssetInventoryServer.Plugins { public class NullAuthenticationPlugin : IAuthenticationProvider { + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); AssetInventoryServer server; public NullAuthenticationPlugin() @@ -47,7 +50,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins { this.server = server; - Logger.Log.Info("[ASSET] Null Authentication loaded."); + m_log.Info("[ASSET] Null Authentication loaded."); } /// @@ -55,7 +58,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins /// public void Initialise() { - Logger.Log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name); + m_log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name); throw new PluginNotInitialisedException(Name); } -- cgit v1.1