Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

!fiuxp remove SILENT in loglevel

azarzadavila707395bdea71
diff --git a/manim/constants.py b/manim/constants.py
index 40ebedd6c..ce981915d 100644
--- a/manim/constants.py
+++ b/manim/constants.py
@@ -148,12 +148,11 @@ COLOR_MAP.update({name.replace("_C", ""): COLOR_MAP[name]
if name.endswith("_C")})
PALETTE = list(COLOR_MAP.values())
locals().update(COLOR_MAP)
-VERBOSE_CHOICES = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", "SILENT"]
+VERBOSE_CHOICES = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
VERBOSE_FFMPEG_MAP = {
"DEBUG": 16,
"INFO": 16,
"WARNING": 16,
"ERROR": 16,
"CRITICAL": 8,
- "SILENT": -8,
}
diff --git a/manim/utils/config_utils.py b/manim/utils/config_utils.py
index cd21b7b1e..7be0b6502 100644
--- a/manim/utils/config_utils.py
+++ b/manim/utils/config_utils.py
@@ -126,9 +126,6 @@ def _parse_file_writer_config(config_parser, args):
verbose = getattr(args, "verbose")
verbose = default["verbose"] if verbose is None else verbose
fw_config["verbose"] = verbose
- if verbose == "SILENT":
- # SILENT is not a predefined value but by placing it higher then all the others, a quieter logger is set
- fw_config["verbose"] = 60
ffmpeg = getattr(args, "ffmpeg")
if ffmpeg is None and default.getint("ffmpeg", None) is not None:
ffmpeg = default.getint("ffmpeg")