Skip to content

Commit

Permalink
Don't add colours to messagelog
Browse files Browse the repository at this point in the history
We need to remove colours later for display, so it is pointless to add them.
  • Loading branch information
AA-Turner committed May 15, 2023
1 parent 00eeea3 commit d8d7fed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sphinx/util/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8d7fed

Please sign in to comment.