Switch on HttpServer_OpenSim.dll logging temporarily

0.6.8-post-fixes
justincc 2009-12-16 16:40:38 +00:00
parent 18110273a9
commit 0e9dcbbea7
136 changed files with 20 additions and 21 deletions

View File

@ -40,7 +40,8 @@ using HttpServer;
using log4net;
using Nwc.XmlRpc;
using OpenMetaverse.StructuredData;
using CoolHTTPListener = HttpServer.HttpListener;
using CoolHTTPListener = HttpServer.HttpListener;
using CoolHttpServer = HttpServer;
using HttpListener=System.Net.HttpListener;
namespace OpenSim.Framework.Servers.HttpServer
@ -729,12 +730,12 @@ namespace OpenSim.Framework.Servers.HttpServer
xmlRpcResponse = method(xmlRprcRequest, request.RemoteIPEndPoint);
}
catch(Exception e)
{
string errorMessage
= String.Format(
"Requested method [{0}] from {1} threw exception: {2} {3}",
methodName, request.RemoteIPEndPoint.Address, e.Message, e.StackTrace);
{
string errorMessage
= String.Format(
"Requested method [{0}] from {1} threw exception: {2} {3}",
methodName, request.RemoteIPEndPoint.Address, e.Message, e.StackTrace);
m_log.ErrorFormat("[BASE HTTP SERVER]: {0}", errorMessage);
// if the registered XmlRpc method threw an exception, we pass a fault-code along
@ -1819,34 +1820,32 @@ namespace OpenSim.Framework.Servers.HttpServer
/// There is also a UseTraceLogs line in this file that can be uncommented for more detailed log information
public class HttpServerLogWriter : ILogWriter
{
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public void Write(object source, LogPrio priority, string message)
{
/*
switch (priority)
{
case HttpServer.LogPrio.Debug:
{
case CoolHttpServer.LogPrio.Debug:
m_log.DebugFormat("[{0}]: {1}", source.ToString(), message);
break;
case HttpServer.LogPrio.Error:
break;
case CoolHttpServer.LogPrio.Error:
m_log.ErrorFormat("[{0}]: {1}", source.ToString(), message);
break;
case HttpServer.LogPrio.Info:
break;
case CoolHttpServer.LogPrio.Info:
m_log.InfoFormat("[{0}]: {1}", source.ToString(), message);
break;
case HttpServer.LogPrio.Warning:
break;
case CoolHttpServer.LogPrio.Warning:
m_log.WarnFormat("[{0}]: {1}", source.ToString(), message);
break;
case HttpServer.LogPrio.Fatal:
break;
case CoolHttpServer.LogPrio.Fatal:
m_log.ErrorFormat("[{0}]: FATAL! - {1}", source.ToString(), message);
break;
default:
break;
}
*/
return;
}
}
}
}

0
bin/AprSharp.dll Normal file → Executable file
View File

0
bin/AprSharp.pdb Normal file → Executable file
View File

0
bin/AssetInventoryServer.ini.example Normal file → Executable file
View File

0
bin/Axiom.MathLib.dll Normal file → Executable file
View File

0
bin/BclExtras.dll Normal file → Executable file
View File

0
bin/BulletDotNET.dll Normal file → Executable file
View File

0
bin/BulletDotNET.pdb Normal file → Executable file
View File

0
bin/C5.dll Normal file → Executable file
View File

0
bin/CSJ2K.dll Normal file → Executable file
View File

0
bin/Castle.Core.dll Normal file → Executable file
View File

0
bin/Castle.DynamicProxy.dll Normal file → Executable file
View File

0
bin/Castle.DynamicProxy2.dll Normal file → Executable file
View File

0
bin/CookComputing.XmlRpcV2.dll Normal file → Executable file
View File

0
bin/DotNetOpenId.dll Normal file → Executable file
View File

0
bin/DotNetOpenMail.dll Normal file → Executable file
View File

0
bin/DotSets.dll Normal file → Executable file
View File

0
bin/Fadd.Globalization.Yaml.dll Normal file → Executable file
View File

0
bin/Fadd.dll Normal file → Executable file
View File

0
bin/GlynnTucker.Cache.dll Normal file → Executable file
View File

0
bin/HttpServer.dll Normal file → Executable file
View File

0
bin/HttpServer_OpenSim.dll Normal file → Executable file
View File

0
bin/HttpServer_OpenSim.pdb Normal file → Executable file
View File

0
bin/HttpServer_OpenSim.xml Normal file → Executable file
View File

0
bin/Iesi.Collections.dll Normal file → Executable file
View File

0
bin/IronMath.dll Normal file → Executable file
View File

0
bin/IronPython.dll Normal file → Executable file
View File

0
bin/Kds.Serialization.dll Normal file → Executable file
View File

0
bin/LaunchSLClient.ini Normal file → Executable file
View File

0
bin/MXP.dll Normal file → Executable file
View File

0
bin/MXP.pdb Normal file → Executable file
View File

0
bin/Modified.XnaDevRu.BulletX.dll Normal file → Executable file
View File

0
bin/Mono.Addins.dll Normal file → Executable file
View File

0
bin/Mono.Addins.dll.config Normal file → Executable file
View File

0
bin/Mono.Data.SqliteClient.dll Normal file → Executable file
View File

0
bin/Mono.GetOptions.dll Normal file → Executable file
View File

0
bin/Mono.PEToolkit.dll Normal file → Executable file
View File

0
bin/Mono.Security.dll Normal file → Executable file
View File

0
bin/MonoXnaCompactMaths.dll Normal file → Executable file
View File

0
bin/MySql.Data.dll Normal file → Executable file
View File

0
bin/NDesk.Options.dll Normal file → Executable file
View File

0
bin/Newtonsoft.Json.XML Normal file → Executable file
View File

0
bin/Newtonsoft.Json.dll Normal file → Executable file
View File

0
bin/Newtonsoft.Json.pdb Normal file → Executable file
View File

0
bin/Nini.dll Normal file → Executable file
View File

0
bin/Npgsql.dll Normal file → Executable file
View File

0
bin/Ode.NET.dll Normal file → Executable file
View File

0
bin/Ode.NET.dll.config Normal file → Executable file
View File

0
bin/OpenMetaverse.Http.XML Normal file → Executable file
View File

0
bin/OpenMetaverse.Http.dll Normal file → Executable file
View File

0
bin/OpenMetaverse.StructuredData.XML Normal file → Executable file
View File

0
bin/OpenMetaverse.StructuredData.dll Normal file → Executable file
View File

0
bin/OpenMetaverse.Utilities.XML Normal file → Executable file
View File

0
bin/OpenMetaverse.Utilities.dll Normal file → Executable file
View File

0
bin/OpenMetaverse.XML Normal file → Executable file
View File

0
bin/OpenMetaverse.dll Normal file → Executable file
View File

0
bin/OpenMetaverse.dll.config Normal file → Executable file
View File

0
bin/OpenMetaverseTypes.XML Normal file → Executable file
View File

0
bin/OpenMetaverseTypes.dll Normal file → Executable file
View File

0
bin/OpenSim.32BitLaunch.exe.config Normal file → Executable file
View File

0
bin/OpenSim.32BitLaunch.pdb Normal file → Executable file
View File

0
bin/OpenSim.ConsoleClient.exe.config Normal file → Executable file
View File

0
bin/OpenSim.ConsoleClient.ini.example Normal file → Executable file
View File

0
bin/OpenSim.Framework.Communications.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Framework.Servers.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Framework.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Grid.GridServer.addin.xml Normal file → Executable file
View File

0
bin/OpenSim.Grid.GridServer.exe.config Normal file → Executable file
View File

0
bin/OpenSim.Grid.MessagingServer.exe.config Normal file → Executable file
View File

0
bin/OpenSim.Grid.ScriptServer.exe.config Normal file → Executable file
View File

0
bin/OpenSim.Grid.UserServer.exe.config Normal file → Executable file
View File

0
bin/OpenSim.GridServer.ini.example Normal file → Executable file
View File

0
bin/OpenSim.Region.CoreModules.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Region.Framework.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Region.ScriptEngine.Tests.dll.config Normal file → Executable file
View File

0
bin/OpenSim.Server.exe.config Normal file → Executable file
View File

0
bin/OpenSim.Server.ini.example Normal file → Executable file
View File

0
bin/OpenSim.Services.exe.config Normal file → Executable file
View File

0
bin/OpenSim.addin.xml Normal file → Executable file
View File

0
bin/OpenSim.exe.config Normal file → Executable file
View File

0
bin/OpenSim.ini.example Normal file → Executable file
View File

0
bin/OpenSimExport.exe.config Normal file → Executable file
View File

0
bin/PhysX-wrapper.dll Normal file → Executable file
View File

0
bin/PhysX_Wrapper_Dotnet.dll Normal file → Executable file
View File

0
bin/PumaCode.SvnDotNet.dll Normal file → Executable file
View File

0
bin/RAIL.dll Normal file → Executable file
View File

0
bin/RegionConfig.ini.example Normal file → Executable file
View File

0
bin/SimpleApp.exe.config Normal file → Executable file
View File

0
bin/SubversionSharp.dll Normal file → Executable file
View File

0
bin/SubversionSharp.pdb Normal file → Executable file
View File

0
bin/System.Data.SQLite.dll Normal file → Executable file
View File

0
bin/Tools.dll Normal file → Executable file
View File

0
bin/XMLRPC.dll Normal file → Executable file
View File

0
bin/avatar-texture.dat Normal file → Executable file
View File

0
bin/defaultstripe.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 887 B

0
bin/excuses Normal file → Executable file
View File

0
bin/http_404.html.example Normal file → Executable file
View File

0
bin/http_500.html.example Normal file → Executable file
View File

0
bin/http_loginform.html.example Normal file → Executable file
View File

0
bin/intl3_svn.dll Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More