You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cleanup / reduce verbosity of diagnostic output in Eclipse logs #798
There have been some complaints that STS 4 eclipse language server dumps a lot of verbose diagnostic output into Eclipse logs.
Much of this information is not at all interesting to an end-user and interferes with their ability to find other error messages they are interested among the clutter.
For an example of the kinds of output we are talking about:
Suggested strategies for resolving this issue... a combination of:
remove some messages completely (e.g. exists = true open = true => deleted = false) what does that even tell us, even I do not remember what that is there for.
most of what remains should be demoted from 'info' to 'debug' level and somehow subject to a preference (so it doesn't show by default).
if any 'info' messages remain they should be things that only happen very rarely (classpath events as shown in above example logs are not one of those 'rare events' because they scale up with the number of projects in a workspace).
Cleaned this up in the above commit. The messages in question are coming from the 'Eclipse native' replacement of jdt-ls extension. I've made it so most of the messages are now disabled unless a system property -Dorg.springframework.tooling.ls.eclipse.commons.DEBUG=true is set on the Eclipse process.
The only messages that will be visibly logged now are related to actual exceptions so likely to be indicative of real issues.
Activity
Cleanup / reduce log output from boot.ls classpath listeners
kdvolder commentedon Jul 28, 2022
Cleaned this up in the above commit. The messages in question are coming from the 'Eclipse native' replacement of jdt-ls extension. I've made it so most of the messages are now disabled unless a system property
-Dorg.springframework.tooling.ls.eclipse.commons.DEBUG=trueis set on the Eclipse process.The only messages that will be visibly logged now are related to actual exceptions so likely to be indicative of real issues.
martinlippert commentedon Aug 1, 2022
Closing this here. Additional cleanup work for Error Log view entries should be tracked in a separate issue.