Improve logging on the prim inventory script asset request path for future use.

This adds name and description of the request handler to http request logging when DebugLevel >= 1
This commit is contained in:
Justin Clark-Casey (justincc)
2012-05-09 23:12:30 +01:00
parent e813f41478
commit 6987aef38d
4 changed files with 15 additions and 8 deletions

View File

@@ -447,8 +447,8 @@ namespace OpenSim.Framework.Servers.HttpServer
{
if (DebugLevel >= 1)
m_log.DebugFormat(
"[BASE HTTP SERVER]: Found stream handler for {0} {1}",
request.HttpMethod, request.Url.PathAndQuery);
"[BASE HTTP SERVER]: Found stream handler for {0} {1} {2} {3}",
request.HttpMethod, request.Url.PathAndQuery, requestHandler.Name, requestHandler.Description);
// Okay, so this is bad, but should be considered temporary until everything is IStreamHandler.
byte[] buffer = null;