Revision 62d3ea53 snf-cyclades-app/synnefo/plankton/backend.py

b/snf-cyclades-app/synnefo/plankton/backend.py
192 192

  
193 193
        self.backend.update_object_meta(self.user, account, container, name,
194 194
                                        PLANKTON_DOMAIN, prefixed, replace)
195
        logger.debug("User '%s' updated image '%s', meta: '%s'", self.user,
196
                     image_url, prefixed)
195 197

  
196 198
    def _get_permissions(self, image_url):
197 199
        """Get object's permissions."""
......
211 213
        account, container, name = split_url(image_url)
212 214
        self.backend.update_object_permissions(self.user, account, container,
213 215
                                               name, permissions)
216
        logger.debug("User '%s' updated image '%s', permissions: '%s'",
217
                     self.user, image_url, permissions)
214 218

  
215 219
    @handle_backend_exceptions
216 220
    def unregister(self, image_uuid):
......
226 230
        # 'PLANKTON_DOMAIN'
227 231
        meta = {}
228 232
        self._update_meta(image_url, meta, True)
233
        logger.debug("User '%s' deleted image '%s'", self.user, image_url)
229 234

  
230 235
    @handle_backend_exceptions
231 236
    def add_user(self, image_uuid, add_user):
......
363 368
        # Do the actualy update in the Pithos backend
364 369
        self._update_meta(image_url, meta)
365 370
        self._update_permissions(image_url, permissions)
371
        logger.debug("User '%s' created image '%s'('%s')", self.user,
372
                     image_url, name)
366 373
        return self._get_image(image_url)
367 374

  
368 375
    def _list_images(self, user=None, filters=None, params=None):

Also available in: Unified diff