diff options
author | Justin Clark-Casey (justincc) | 2012-05-09 23:12:30 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-05-09 23:12:30 +0100 |
commit | 6987aef38dbc4f5c24b6e2cc73601f9a7c5f4431 (patch) | |
tree | 2d89a7bf9e4b4b1d54fd6594742d9dc6ed8845c3 /OpenSim/Region/Framework/Scenes | |
parent | Escape and unescape xml element names if necessary in ServerUtils.BuildXmlDat... (diff) | |
download | opensim-SC_OLD-6987aef38dbc4f5c24b6e2cc73601f9a7c5f4431.zip opensim-SC_OLD-6987aef38dbc4f5c24b6e2cc73601f9a7c5f4431.tar.gz opensim-SC_OLD-6987aef38dbc4f5c24b6e2cc73601f9a7c5f4431.tar.bz2 opensim-SC_OLD-6987aef38dbc4f5c24b6e2cc73601f9a7c5f4431.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 816d3b6..8a26df1 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -300,6 +300,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
300 | AssetBase asset = CreateAsset(item.Name, item.Description, (sbyte)AssetType.LSLText, data, remoteClient.AgentId); | 300 | AssetBase asset = CreateAsset(item.Name, item.Description, (sbyte)AssetType.LSLText, data, remoteClient.AgentId); |
301 | AssetService.Store(asset); | 301 | AssetService.Store(asset); |
302 | 302 | ||
303 | // m_log.DebugFormat( | ||
304 | // "[PRIM INVENTORY]: Stored asset {0} when updating item {1} in prim {2} for {3}", | ||
305 | // asset.ID, item.Name, part.Name, remoteClient.Name); | ||
306 | |||
303 | if (isScriptRunning) | 307 | if (isScriptRunning) |
304 | { | 308 | { |
305 | part.Inventory.RemoveScriptInstance(item.ItemID, false); | 309 | part.Inventory.RemoveScriptInstance(item.ItemID, false); |