Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Changed log level for Read Configuration Files message.

Aathish Sivasubrahmanianb6c0903bdb15
diff --git a/manim/config.py b/manim/config.py
index e9216deff..1b679a2e4 100644
--- a/manim/config.py
+++ b/manim/config.py
@@ -90,7 +90,7 @@ def _parse_config(config_parser, args):
args, config_parser, file_writer_config, successfully_read_files = _run_config()
logger.setLevel(file_writer_config["verbose"])
if _from_command_line():
- logger.info(
+ logger.debug(
f"Read configuration files: {[os.path.abspath(cfgfile) for cfgfile in successfully_read_files]}"
)
if not (hasattr(args, "subcommands")):
diff --git a/tests/test_logging/expected.txt b/tests/test_logging/expected.txt
index fc4ad658a..ccb8a2eae 100644
--- a/tests/test_logging/expected.txt
+++ b/tests/test_logging/expected.txt
@@ -1,4 +1,7 @@
-INFO Read configuration files: config.py:
+DEBUG Read configuration files: config.py:
+DEBUG Animation : Partial movie file written in scene_file_writer.py:
+DEBUG Animation : Partial movie file written in scene_file_writer.py:
+DEBUG Animation : Partial movie file written in scene_file_writer.py:
INFO scene_file_writer.py:
File ready at
diff --git a/tests/tests_data/manim.cfg b/tests/tests_data/manim.cfg
index a1b7f8a38..c7990a950 100644
--- a/tests/tests_data/manim.cfg
+++ b/tests/tests_data/manim.cfg
@@ -4,6 +4,7 @@ write_to_movie = True
# write_all = False
save_last_frame = False
# save_pngs = False
+verbose = DEBUG
[logger]
log_width = 512