Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
@guw You have to add It is similar to m2e logback. See osgi/osgi#372 (comment) |
Beta Was this translation helpful? Give feedback.
-
@guw You can use the standard Eclipse logging. See https://github.com/eclipse/eclipse.jdt.ls/blob/cf251804ed7abfd1c106d6681930c646717d6438/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/JavaLanguageServerPlugin.java#L385 |
Beta Was this translation helpful? Give feedback.
-
I'm writing an extension which gets added to JDTLS using
vscode-java
extension mechanism. I am using SLF4J log api within my plug-in code to generate log messages.In the deployed JDTLS I noticed the following issue in the Eclipse
client.log
file:Inspecting the layout on filesystem I can see some confusion:
It's hard to judge where the SLF4J No SLF4J providers were found message is coming from. This is unexpected with logback being deployed. It could be from 2.0 which is using
ServiceLoader
mechanism. I don't see theServiceLoader
mechanism installed/active in JDTLS.What is the strategy for JDTLS and what should I do with my extension?
Beta Was this translation helpful? Give feedback.
All reactions