[CalendarServer-changes] [9247] CalendarServer/trunk/twistedcaldav/storebridge.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 14 11:05:04 PDT 2012
Revision: 9247
http://trac.macosforge.org/projects/calendarserver/changeset/9247
Author: sagen at apple.com
Date: 2012-05-14 11:05:04 -0700 (Mon, 14 May 2012)
Log Message:
-----------
No need to log missing resources as errors since the access.log will show the 404s.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/storebridge.py
Modified: CalendarServer/trunk/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/storebridge.py 2012-05-14 16:56:07 UTC (rev 9246)
+++ CalendarServer/trunk/twistedcaldav/storebridge.py 2012-05-14 18:05:04 UTC (rev 9247)
@@ -382,7 +382,7 @@
"""
if not self.exists():
- log.err("Resource not found: %s" % (self,))
+ log.debug("Resource not found: %s" % (self,))
raise HTTPError(responsecode.NOT_FOUND)
depth = request.headers.getHeader("depth", "infinity")
@@ -492,7 +492,7 @@
that collections's name.
"""
if not self.exists():
- log.err("Resource not found: %s" % (self,))
+ log.debug("Resource not found: %s" % (self,))
raise HTTPError(responsecode.NOT_FOUND)
# Can not move outside of home or to existing collection
@@ -1728,7 +1728,7 @@
Override http_DELETE to validate 'depth' header.
"""
if not self.exists():
- log.err("Resource not found: %s" % (self,))
+ log.debug("Resource not found: %s" % (self,))
raise HTTPError(responsecode.NOT_FOUND)
return self.storeRemove(request, True, request.uri)
@@ -2354,7 +2354,7 @@
@inlineCallbacks
def http_GET(self, request):
if not self.exists():
- log.err("Resource not found: %s" % (self,))
+ log.debug("Resource not found: %s" % (self,))
raise HTTPError(responsecode.NOT_FOUND)
returnValue(
@@ -2369,7 +2369,7 @@
Override http_DELETE to validate 'depth' header.
"""
if not self.exists():
- log.err("Resource not found: %s" % (self,))
+ log.debug("Resource not found: %s" % (self,))
raise HTTPError(responsecode.NOT_FOUND)
return self.storeRemove(request, request.uri)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120514/98d839cf/attachment-0001.html>
More information about the calendarserver-changes
mailing list