Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: improve daemon logging behavior #40105
Right now, when gopls is in daemon mode, we by default start the daemon with
This means that the gopls daemon creates a mostly (or entirely) empty logfile, which causes clutter and can lead to confusion when looking for actual RPC logs. Arguably, we should instead:
It would be good to also differentiate the daemon logfile by name (e.g.
CC @bhcleek -- I noticed this from a user report using vim-go, in golang/vscode-go#299. It is confusing that the current default vim-go settings results in an empty logfile, most of the time. This is my bad, for making the default logging behavior of the daemon inconsistent with the default logging behavior of the sidecar. I'll fix this soon, but wanted you to be aware: it would be good to get the fix in before the next vim-go release. Thanks for using daemon mode!