mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't add colours to messagelog
We need to remove colours later for display, so it is pointless to add them.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user