diff --git a/pype/ftrack/actions/action_create_cust_attrs.py b/pype/ftrack/actions/action_create_cust_attrs.py index 9cf79daecf..8e926fb313 100644 --- a/pype/ftrack/actions/action_create_cust_attrs.py +++ b/pype/ftrack/actions/action_create_cust_attrs.py @@ -291,6 +291,9 @@ class CustomAttributes(BaseAction): if len(matching) == 0: self.session.create('CustomAttributeConfiguration', data) self.session.commit() + self.log.debug( + '{}: "{}" created'.format(self.label, data['label']) + ) elif len(matching) == 1: attr_update = matching[0] @@ -301,6 +304,10 @@ class CustomAttributes(BaseAction): ] ): attr_update[key] = data[key] + + self.log.debug( + '{}: "{}" updated'.format(self.label, data['label']) + ) self.session.commit() else: