The sphinx agent no longer overrides Sphinx's logging setup and instead re-directs all output to stderr. The parent language server can monitor stderr and forward any output to the client. By not overriding Sphinx's logging setup, all features like suppress_warnings should now also work as expected. (Closes #695)
We can still extract the diagnostic info we need by converting the logging handler to a simple filter
The sphinx agent no longer overrides Sphinx's logging setup and instead re-directs all output to
stderr
. The parent language server can monitorstderr
and forward any output to the client. By not overriding Sphinx's logging setup, all features likesuppress_warnings
should now also work as expected. (Closes #695)We can still extract the diagnostic info we need by converting the logging handler to a simple filter