diff --git a/oioswift/common/middleware/container_hierarchy.py b/oioswift/common/middleware/container_hierarchy.py index 1a1e4cf6..0f7c9e39 100644 --- a/oioswift/common/middleware/container_hierarchy.py +++ b/oioswift/common/middleware/container_hierarchy.py @@ -827,8 +827,9 @@ def _list_objects(self, env, account, ct_parts, header_cb, obj_prefix = self.DELIMITER.join(ct_parts[1:] + ['', ]) if not resp.is_success or resp.content_length == 0: - LOG.warn("%s: Failed to list %s", - self.SWIFT_SOURCE, sub_path) + if resp.status_int != 404: + LOG.warn("%s: Failed to list %s: %s", + self.SWIFT_SOURCE, sub_path, resp.status) return with closing_if_possible(resp.app_iter): items = json.loads(resp.body) diff --git a/oioswift/proxy/controllers/obj.py b/oioswift/proxy/controllers/obj.py index 62b5384e..4aad6648 100644 --- a/oioswift/proxy/controllers/obj.py +++ b/oioswift/proxy/controllers/obj.py @@ -496,10 +496,12 @@ def _link_object(self, req): from_account = req.headers.get('X-Copy-From-Account', self.account_name) - self.app.logger.info("LINK (%s,%s,%s) TO (%s,%s,%s)", - from_account, self.container_name, - self.object_name, - self.account_name, container, obj) + self.app.logger.info("Creating link from %s/%s/%s to %s/%s/%s", + # Existing + from_account, container, obj, + # New + self.account_name, self.container_name, + self.object_name) storage = self.app.storage if req.headers.get('Range'):