mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added debugging logs
This commit is contained in:
parent
bff280b867
commit
dca974af2b
1 changed files with 19 additions and 0 deletions
|
|
@ -717,6 +717,9 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
if not self.ftrack_removed:
|
if not self.ftrack_removed:
|
||||||
return
|
return
|
||||||
ent_infos = self.ftrack_removed
|
ent_infos = self.ftrack_removed
|
||||||
|
self.log.debug(
|
||||||
|
"Processing removed entities: {}".format(str(ent_infos))
|
||||||
|
)
|
||||||
removable_ids = []
|
removable_ids = []
|
||||||
recreate_ents = []
|
recreate_ents = []
|
||||||
removed_names = []
|
removed_names = []
|
||||||
|
|
@ -1260,6 +1263,10 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
if not ent_infos:
|
if not ent_infos:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.log.debug(
|
||||||
|
"Processing renamed entities: {}".format(str(ent_infos))
|
||||||
|
)
|
||||||
|
|
||||||
renamed_tasks = {}
|
renamed_tasks = {}
|
||||||
not_found = {}
|
not_found = {}
|
||||||
changeable_queue = queue.Queue()
|
changeable_queue = queue.Queue()
|
||||||
|
|
@ -1455,6 +1462,10 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
if not ent_infos:
|
if not ent_infos:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.log.debug(
|
||||||
|
"Processing added entities: {}".format(str(ent_infos))
|
||||||
|
)
|
||||||
|
|
||||||
cust_attrs, hier_attrs = self.avalon_cust_attrs
|
cust_attrs, hier_attrs = self.avalon_cust_attrs
|
||||||
entity_type_conf_ids = {}
|
entity_type_conf_ids = {}
|
||||||
# Skip if already exit in avalon db or tasks entities
|
# Skip if already exit in avalon db or tasks entities
|
||||||
|
|
@ -1731,6 +1742,10 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
if not self.ftrack_moved:
|
if not self.ftrack_moved:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.log.debug(
|
||||||
|
"Processing moved entities: {}".format(str(self.ftrack_moved))
|
||||||
|
)
|
||||||
|
|
||||||
ftrack_moved = {k: v for k, v in sorted(
|
ftrack_moved = {k: v for k, v in sorted(
|
||||||
self.ftrack_moved.items(),
|
self.ftrack_moved.items(),
|
||||||
key=(lambda line: len(
|
key=(lambda line: len(
|
||||||
|
|
@ -1861,6 +1876,10 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
if not self.ftrack_updated:
|
if not self.ftrack_updated:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.log.debug(
|
||||||
|
"Processing updated entities: {}".format(str(self.ftrack_updated))
|
||||||
|
)
|
||||||
|
|
||||||
ent_infos = self.ftrack_updated
|
ent_infos = self.ftrack_updated
|
||||||
ftrack_mongo_mapping = {}
|
ftrack_mongo_mapping = {}
|
||||||
not_found_ids = []
|
not_found_ids = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue