From ad2bd740574b7695a74bb65a63c4bb884cafdf7d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 14 Apr 2009 16:36:32 +0000 Subject: * refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read. --- OpenSim/Region/Application/OpenSimBase.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index fd3549e..3840240 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -365,7 +365,7 @@ namespace OpenSim catch { } - m_log.Info("[OPENSIMBASE] Default assetserver will be used"); + m_log.Info("[OPENSIMBASE]: Default assetserver will be used"); break; } @@ -428,6 +428,7 @@ namespace OpenSim if (m_configSettings.AssetCache != null && m_configSettings.AssetCache != String.Empty) { m_log.DebugFormat("[OPENSIMBASE]: Attempting to load asset cache id = {0}", m_configSettings.AssetCache); + try { PluginInitialiserBase init = new AssetCachePluginInitialiser(m_configSettings, assetServer); @@ -440,8 +441,8 @@ namespace OpenSim } catch (Exception e) { - m_log.Debug("[OPENSIMBASE]: ResolveAssetCache completed"); - m_log.Debug(e); + m_log.Error("[OPENSIMBASE]: ResolveAssetCache failed"); + m_log.Error(e); } } @@ -453,12 +454,12 @@ namespace OpenSim { if (LoginEnabled) { - m_log.Info("[Login]: Login is now enabled "); + m_log.Info("[LOGIN]: Login is now enabled."); m_commsManager.GridService.RegionLoginsEnabled = true; } else { - m_log.Info("[Login]: Login is now disabled "); + m_log.Info("[LOGIN]: Login is now disabled."); m_commsManager.GridService.RegionLoginsEnabled = false; } } -- cgit v1.1