mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
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:
@@ -300,6 +300,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
AssetBase asset = CreateAsset(item.Name, item.Description, (sbyte)AssetType.LSLText, data, remoteClient.AgentId);
|
||||
AssetService.Store(asset);
|
||||
|
||||
// m_log.DebugFormat(
|
||||
// "[PRIM INVENTORY]: Stored asset {0} when updating item {1} in prim {2} for {3}",
|
||||
// asset.ID, item.Name, part.Name, remoteClient.Name);
|
||||
|
||||
if (isScriptRunning)
|
||||
{
|
||||
part.Inventory.RemoveScriptInstance(item.ItemID, false);
|
||||
|
||||
Reference in New Issue
Block a user