Skip to content

How to open stdout show log #2271

Closed Answered by rgrunber
Hebe970217 asked this question in Q&A
Discussion options

You must be logged in to vote

A lot of this should be made convenient depending on the client you use. Certain clients may create an option like "Open Java Logs" that open all available logs related to JDT-LS. However, I'm assuming you're working with JDT-LS and want to expose such logs for your own client.

When you start JDT-LS, there is an option passed, -data . You can see this option, in the helper script we ship, at https://github.com/eclipse/eclipse.jdt.ls/blob/26d5d9f3ba2581327f46adfcb6d9a1ee8ace2154/org.eclipse.jdt.ls.product/scripts/jdtls.py#L101 . This represents the location at which JDT-LS will store relevant information related to the project(s) it will handle. The server will log to the file .metadata/.log

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rgrunber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants