jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Language server output to logs are distracting at times

Open mlucool opened this issue 2 years ago • 0 comments

At times, some mostly-informational logs from pyright (at least) are logged to JuptyerLab's output log, which is distracting since it flashes blue. Example pyright info:

4:57:28 PM
pyright: Searching for source files
4:57:28 PM
pyright: No source files found.
4:57:28 PM
pyright: No pyproject.toml file found.
4:57:28 PM
pyright: stubPath typings is not a valid directory.
4:57:28 PM
pyright: Assuming Python platform Linux
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
4:57:28 PM
pyright: Searching for source files
4:57:28 PM
pyright: No source files found

Is there a way to silence these somehow? Is this a pyright problem or jupyterlab-lsp one?

mlucool avatar Mar 11 '22 22:03 mlucool