summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-05-13 02:50:00 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-05-15 10:20:31 +0100
commitd8d7fed993a2921de6bc0325ea6d47fe9aae8671 (patch)
tree19dca41225e5f66b1b17bfbe01c5c3ad1d4bda87
parent00eeea3d9b4a586500e79e5cd68d9681ed2ec10a (diff)
downloadsphinx-git-d8d7fed993a2921de6bc0325ea6d47fe9aae8671.tar.gz
Don't add colours to messagelog
We need to remove colours later for display, so it is pointless to add them.
-rw-r--r--sphinx/util/logging.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index 369aa4137..1b2d6e450 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -593,7 +593,6 @@ def setup(app: Sphinx, status: IO, warning: IO) -> None:
messagelog_handler = logging.StreamHandler(LastMessagesWriter(app, status))
messagelog_handler.addFilter(InfoFilter())
messagelog_handler.setLevel(VERBOSITY_MAP[app.verbosity])
- messagelog_handler.setFormatter(ColorizeFormatter())
logger.addHandler(info_handler)
logger.addHandler(warning_handler)