diff --git a/openpype/hosts/max/plugins/publish/extract_pointcache.py b/openpype/hosts/max/plugins/publish/extract_pointcache.py index 8658cecb1b..e09eddb993 100644 --- a/openpype/hosts/max/plugins/publish/extract_pointcache.py +++ b/openpype/hosts/max/plugins/publish/extract_pointcache.py @@ -56,7 +56,7 @@ class ExtractAlembic(publish.Extractor): container = instance.data["instance_node"] - self.log.info("Extracting pointcache ...") + self.log.debug("Extracting pointcache ...") parent_dir = self.staging_dir(instance) file_name = "{name}.abc".format(**instance.data) diff --git a/openpype/hosts/maya/plugins/publish/collect_look.py b/openpype/hosts/maya/plugins/publish/collect_look.py index 287ddc228b..b3da920566 100644 --- a/openpype/hosts/maya/plugins/publish/collect_look.py +++ b/openpype/hosts/maya/plugins/publish/collect_look.py @@ -285,17 +285,17 @@ class CollectLook(pyblish.api.InstancePlugin): instance: Instance to collect. """ - self.log.info("Looking for look associations " + self.log.debug("Looking for look associations " "for %s" % instance.data['name']) # Discover related object sets - self.log.info("Gathering sets ...") + self.log.debug("Gathering sets ...") sets = self.collect_sets(instance) # Lookup set (optimization) instance_lookup = set(cmds.ls(instance, long=True)) - self.log.info("Gathering set relations ...") + self.log.debug("Gathering set relations ...") # Ensure iteration happen in a list so we can remove keys from the # dict within the loop @@ -308,7 +308,7 @@ class CollectLook(pyblish.api.InstancePlugin): # if node is specified as renderer node type, it will be # serialized with its attributes. if cmds.nodeType(obj_set) in RENDERER_NODE_TYPES: - self.log.info("- {} is {}".format( + self.log.debug("- {} is {}".format( obj_set, cmds.nodeType(obj_set))) node_attrs = [] @@ -354,13 +354,13 @@ class CollectLook(pyblish.api.InstancePlugin): # Remove sets that didn't have any members assigned in the end # Thus the data will be limited to only what we need. - self.log.info("obj_set {}".format(sets[obj_set])) + self.log.debug("obj_set {}".format(sets[obj_set])) if not sets[obj_set]["members"]: self.log.info( "Removing redundant set information: {}".format(obj_set)) sets.pop(obj_set, None) - self.log.info("Gathering attribute changes to instance members..") + self.log.debug("Gathering attribute changes to instance members..") attributes = self.collect_attributes_changed(instance) # Store data on the instance @@ -433,14 +433,14 @@ class CollectLook(pyblish.api.InstancePlugin): for node_type in all_supported_nodes: files.extend(cmds.ls(history, type=node_type, long=True)) - self.log.info("Collected file nodes:\n{}".format(files)) + self.log.debug("Collected file nodes:\n{}".format(files)) # Collect textures if any file nodes are found instance.data["resources"] = [] for n in files: for res in self.collect_resources(n): instance.data["resources"].append(res) - self.log.info("Collected resources: {}".format( + self.log.debug("Collected resources: {}".format( instance.data["resources"])) # Log warning when no relevant sets were retrieved for the look. @@ -536,7 +536,7 @@ class CollectLook(pyblish.api.InstancePlugin): # Collect changes to "custom" attributes node_attrs = get_look_attrs(node) - self.log.info( + self.log.debug( "Node \"{0}\" attributes: {1}".format(node, node_attrs) ) diff --git a/openpype/hosts/maya/plugins/publish/extract_assembly.py b/openpype/hosts/maya/plugins/publish/extract_assembly.py index 35932003ee..9b2978d192 100644 --- a/openpype/hosts/maya/plugins/publish/extract_assembly.py +++ b/openpype/hosts/maya/plugins/publish/extract_assembly.py @@ -31,7 +31,7 @@ class ExtractAssembly(publish.Extractor): with open(json_path, "w") as filepath: json.dump(instance.data["scenedata"], filepath, ensure_ascii=False) - self.log.info("Extracting point cache ..") + self.log.debug("Extracting pointcache ..") cmds.select(instance.data["nodesHierarchy"]) # Run basic alembic exporter diff --git a/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py b/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py index 7467fa027d..30e6b89f2f 100644 --- a/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py +++ b/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py @@ -106,7 +106,7 @@ class ExtractCameraMayaScene(publish.Extractor): instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: diff --git a/openpype/hosts/maya/plugins/publish/extract_import_reference.py b/openpype/hosts/maya/plugins/publish/extract_import_reference.py index 5ca100ac00..8bb82be9b6 100644 --- a/openpype/hosts/maya/plugins/publish/extract_import_reference.py +++ b/openpype/hosts/maya/plugins/publish/extract_import_reference.py @@ -41,7 +41,7 @@ class ExtractImportReference(publish.Extractor, instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: diff --git a/openpype/hosts/maya/plugins/publish/extract_look.py b/openpype/hosts/maya/plugins/publish/extract_look.py index 3cc95a0b2e..e2c88ef44a 100644 --- a/openpype/hosts/maya/plugins/publish/extract_look.py +++ b/openpype/hosts/maya/plugins/publish/extract_look.py @@ -412,7 +412,7 @@ class ExtractLook(publish.Extractor): instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: @@ -444,12 +444,12 @@ class ExtractLook(publish.Extractor): # Remove all members of the sets so they are not included in the # exported file by accident - self.log.info("Processing sets..") + self.log.debug("Processing sets..") lookdata = instance.data["lookData"] relationships = lookdata["relationships"] sets = list(relationships.keys()) if not sets: - self.log.info("No sets found") + self.log.info("No sets found for the look") return # Specify texture processing executables to activate diff --git a/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py b/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py index c2411ca651..d87d6c208a 100644 --- a/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py +++ b/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py @@ -29,7 +29,7 @@ class ExtractMayaSceneRaw(publish.Extractor): instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: diff --git a/openpype/hosts/maya/plugins/publish/extract_model.py b/openpype/hosts/maya/plugins/publish/extract_model.py index d19c4db5fd..5137dffd94 100644 --- a/openpype/hosts/maya/plugins/publish/extract_model.py +++ b/openpype/hosts/maya/plugins/publish/extract_model.py @@ -39,7 +39,7 @@ class ExtractModel(publish.Extractor, instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: diff --git a/openpype/hosts/maya/plugins/publish/extract_pointcache.py b/openpype/hosts/maya/plugins/publish/extract_pointcache.py index f44c13767c..9537a11ee4 100644 --- a/openpype/hosts/maya/plugins/publish/extract_pointcache.py +++ b/openpype/hosts/maya/plugins/publish/extract_pointcache.py @@ -45,7 +45,7 @@ class ExtractAlembic(publish.Extractor): attr_prefixes = instance.data.get("attrPrefix", "").split(";") attr_prefixes = [value for value in attr_prefixes if value.strip()] - self.log.info("Extracting pointcache..") + self.log.debug("Extracting pointcache..") dirname = self.staging_dir(instance) parent_dir = self.staging_dir(instance) @@ -86,7 +86,6 @@ class ExtractAlembic(publish.Extractor): end=end)) suspend = not instance.data.get("refresh", False) - self.log.info(nodes) with suspended_refresh(suspend=suspend): with maintained_selection(): cmds.select(nodes, noExpand=True) diff --git a/openpype/hosts/maya/plugins/publish/extract_rig.py b/openpype/hosts/maya/plugins/publish/extract_rig.py index c71a2f710d..be57b9de07 100644 --- a/openpype/hosts/maya/plugins/publish/extract_rig.py +++ b/openpype/hosts/maya/plugins/publish/extract_rig.py @@ -22,13 +22,13 @@ class ExtractRig(publish.Extractor): instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: self.scene_type = ext_mapping[family] self.log.info( - "Using {} as scene type".format(self.scene_type)) + "Using '.{}' as scene type".format(self.scene_type)) break except AttributeError: # no preset found diff --git a/openpype/hosts/maya/plugins/publish/extract_unreal_skeletalmesh_abc.py b/openpype/hosts/maya/plugins/publish/extract_unreal_skeletalmesh_abc.py index e1f847f31a..4a797eb462 100644 --- a/openpype/hosts/maya/plugins/publish/extract_unreal_skeletalmesh_abc.py +++ b/openpype/hosts/maya/plugins/publish/extract_unreal_skeletalmesh_abc.py @@ -32,7 +32,7 @@ class ExtractUnrealSkeletalMeshAbc(publish.Extractor): optional = True def process(self, instance): - self.log.info("Extracting pointcache..") + self.log.debug("Extracting pointcache..") geo = cmds.listRelatives( instance.data.get("geometry"), allDescendents=True, fullPath=True) diff --git a/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py b/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py index 1d0c5e88c3..9a46c31177 100644 --- a/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py +++ b/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py @@ -104,7 +104,7 @@ class ExtractYetiRig(publish.Extractor): instance.context.data["project_settings"]["maya"]["ext_mapping"] ) if ext_mapping: - self.log.info("Looking in settings for scene type ...") + self.log.debug("Looking in settings for scene type ...") # use extension mapping for first family found for family in self.families: try: