diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs b/OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs index 83a5676..8372ae7 100644 --- a/OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs +++ b/OpenSim/Framework/Servers/BaseGetAssetStreamHandler.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Servers | |||
64 | 64 | ||
65 | if (!UUID.TryParse(p[0], out assetID)) | 65 | if (!UUID.TryParse(p[0], out assetID)) |
66 | { | 66 | { |
67 | m_log.InfoFormat( | 67 | m_log.DebugFormat( |
68 | "[REST]: GET:/asset ignoring request with malformed UUID {0}", p[0]); | 68 | "[REST]: GET:/asset ignoring request with malformed UUID {0}", p[0]); |
69 | return result; | 69 | return result; |
70 | } | 70 | } |
@@ -91,12 +91,14 @@ namespace OpenSim.Framework.Servers | |||
91 | } | 91 | } |
92 | else | 92 | else |
93 | { | 93 | { |
94 | m_log.DebugFormat("[REST]: GET:/asset failed to find {0}", assetID); | ||
95 | |||
96 | httpResponse.StatusCode = (int)HttpStatusCode.NotFound; | ||
97 | |||
94 | if (StatsManager.AssetStats != null) | 98 | if (StatsManager.AssetStats != null) |
95 | { | 99 | { |
96 | StatsManager.AssetStats.AddNotFoundRequest(); | 100 | StatsManager.AssetStats.AddNotFoundRequest(); |
97 | } | 101 | } |
98 | |||
99 | m_log.InfoFormat("[REST]: GET:/asset failed to find {0}", assetID); | ||
100 | } | 102 | } |
101 | } | 103 | } |
102 | 104 | ||