Revert "Switch on HttpServer_OpenSim.dll logging temporarily"

This reverts commit 0e9dcbbea7.
0.6.8-post-fixes
justincc 2009-12-16 16:44:38 +00:00
parent 0e9dcbbea7
commit 09618626d7
136 changed files with 21 additions and 20 deletions

View File

@ -40,8 +40,7 @@ using HttpServer;
using log4net;
using Nwc.XmlRpc;
using OpenMetaverse.StructuredData;
using CoolHTTPListener = HttpServer.HttpListener;
using CoolHttpServer = HttpServer;
using CoolHTTPListener = HttpServer.HttpListener;
using HttpListener=System.Net.HttpListener;
namespace OpenSim.Framework.Servers.HttpServer
@ -730,12 +729,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
@ -1820,32 +1819,34 @@ 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 CoolHttpServer.LogPrio.Debug:
{
case HttpServer.LogPrio.Debug:
m_log.DebugFormat("[{0}]: {1}", source.ToString(), message);
break;
case CoolHttpServer.LogPrio.Error:
break;
case HttpServer.LogPrio.Error:
m_log.ErrorFormat("[{0}]: {1}", source.ToString(), message);
break;
case CoolHttpServer.LogPrio.Info:
break;
case HttpServer.LogPrio.Info:
m_log.InfoFormat("[{0}]: {1}", source.ToString(), message);
break;
case CoolHttpServer.LogPrio.Warning:
break;
case HttpServer.LogPrio.Warning:
m_log.WarnFormat("[{0}]: {1}", source.ToString(), message);
break;
case CoolHttpServer.LogPrio.Fatal:
break;
case HttpServer.LogPrio.Fatal:
m_log.ErrorFormat("[{0}]: FATAL! - {1}", source.ToString(), message);
break;
default:
break;
}
*/
return;
}
}
}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 887 B

0
bin/excuses Executable file → Normal file
View File

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

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

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

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

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