-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Logger doesn't work anymore #1306
Comments
thanks for reporting, good to know! i'll take a look here today and be sure to have it fixed before the next alpha |
On the subject of alpha, IDK if it is automated or not, my current workflow is to find the latest alpha via |
you can also do |
In my local environment, even if I use the version of 2.4.0-alpha.1 of |
I tried the step 7 using the version of 2.4.0-alpha.1 of BTW, I used master branch of |
yes i will be getting around to this bug, was trying to identify where the regression originally happened |
@divyenduz Do you mean Logger doesn't emit log file in a temp folder or it doesn't emit log in output section under GraphQL Language Service in vscode? |
I think that it’s also a lack of stdout? |
Yes that is what I meant |
@divyenduz Isn't a log file created under |
@yoshiakis How do I find the Also, the way it used to work was that the logs appeared in the VSCode Language Client's Visually, it should appear here: As you can see, it still shows this one liner message for cmd + click on a symbol. It used to show all sorts of things like hover on a symbol (the whole LSP request/responses) |
@divyenduz want to pair on this real quick? |
This one seems to work because in
In 10-20 minutes maybe? |
@divyenduz and I had a session and tried to track down what changed in graphql-languagesrver and client from 3.5.1. My guess is that the language server no longer writes to |
seems that vscode-languageserver deprecated writing to stderr by default
I think we figured this out! It works now, there are random "undefined" in logs but that is a separate issue 🙌 |
From the
graphql-language-service-server
package (at least, could be shared further).It used to work before the TS rewrite but now logger emits nothing when connected to say VSCode extension now.
process.stderr.write
seems to work though.The text was updated successfully, but these errors were encountered: