From 85d5eb452059de741f3a249011aa9280250b20f0 Mon Sep 17 00:00:00 2001 From: Steve Bjorg Date: Tue, 26 May 2015 08:21:36 -0700 Subject: [PATCH] Log 'feature not found' and 'method not allowed' as INFO since they are expected to occur. --- src/mindtouch.core/DreamHostService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mindtouch.core/DreamHostService.cs b/src/mindtouch.core/DreamHostService.cs index 8dc93f8..ed93a22 100644 --- a/src/mindtouch.core/DreamHostService.cs +++ b/src/mindtouch.core/DreamHostService.cs @@ -1350,11 +1350,11 @@ private sealed class DreamActivityDescription : IDreamActivityDescription { // check if any feature was found if((features == null) || (features.Count == 0)) { string msg = verb + " URI: " + uri.ToString(false) + " LOCAL: " + localFeatureUri.ToString(false) + " PUBLIC: " + publicUri + " TRANSPORT: " + transport; - _log.WarnMethodCall("ProcessRequest: feature not found", msg); + _log.InfoMethodCall("ProcessRequest: feature not found", msg); result = DreamMessage.NotFound("resource not found"); } else { string msg = verb + " " + uri.ToString(false); - _log.WarnMethodCall("ProcessRequest: method not allowed", msg); + _log.InfoMethodCall("ProcessRequest: method not allowed", msg); List methods = new List(); foreach(DreamFeature entry in features) { if(!methods.Contains(entry.Verb)) {