diff --git a/src/comfydv/format_string.py b/src/comfydv/format_string.py index ca98859..2699c5c 100644 --- a/src/comfydv/format_string.py +++ b/src/comfydv/format_string.py @@ -374,9 +374,12 @@ class FormatString: if template_type == "Simple": try: formatted_string = template.format(**kwargs) - logger.info( - f"Simple format successful, result length: {len(formatted_string)}" - ) + if logger.level < logging.DEBUG: + logger.info( + f"Simple format successful, result length: {len(formatted_string)}" + ) + elif logger.level == logging.DEBUG: + logger.debug(f"Simple format successful: {formatted_string}") except KeyError as e: error_msg = f"Missing variable in Simple template: {str(e)}" logger.error(error_msg)