-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPC: Implement an analogue for ch_logfile #9010
Comments
#7062 is related. Nvim does have rich logging already for channels, but the depth (INFO, DEBUG, etc.) is controlled at compile-time. For channels I guess we need runtime controls. |
@w0rp could you post a sample of the log output, in particular what events do you expect to be logged? |
Here are some examples from users reporting ALE issues with dense-analysis/ale#1918 (comment) The output shows jobs starting and stopping, channels opening and closing, messages that are sent back and forth, and so on. All of the above make spotting bugs pretty easy. |
Vim 8.0 has a function called
ch_logfile
for logging all of the activity for channels and jobs to a file conveniently. This makes it easy to figure out where some interaction between some plugin and a program, especially a language server, might be going wrong. It would be very useful to have a similar function in NeoVim. Right now, I often advise users to try and repeat their bugs in Vim instead of NeoVim, so I can see the log file thatch_logfile
creates.The text was updated successfully, but these errors were encountered: