mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
- change AssetInventoryServer config from XML to INI
- convert AssetInventoryServer logging to OpenSim's log4net - updated AssetInventoryServer.ini.example file
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -55,7 +58,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins
|
||||
/// </summary>
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user