-
Notifications
You must be signed in to change notification settings - Fork 28
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
Wrong/Missing Log Levels in application.properties #315
Comments
Today LEVEL are hard coded on MicroProfile LS side https://github.com/eclipse/lsp4mp/blob/master/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/resources/org/eclipse/lsp4mp/model/values/quarkus-values-rules.json but it was a bad idea. (This issue is a sample of the limitation). I had created the issue eclipse-lsp4mp/lsp4mp#39 but I need more investigation. The basic idea is that MP JDT should return the list of logger level. |
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
See redhat-developer/vscode-quarkus#315 Signed-off-by: azerr <[email protected]>
Fixed with eclipse-lsp4mp/lsp4mp#105 and redhat-developer/quarkus-ls#370 @Faboli7 see the following demos: |
Hi,
Autocomplete for Log Levels has issues.
For all the log level properties except quarkus.log.category.key.level, the proposed levels are the ones from java.util.logging, which means that setting FATAL, ERROR, WARN, DEBUG or TRACE is detected as an error.
For quarkus.log.category.key.level, two more levels are available: ERROR and DEBUG, but the other ones are missing too.
According to this issue (see quote below), the levels that users are expected to use are the ones from JBoss Log Manager. The JUL ones are there only for compatibility reasons.
The JBoss Log Manager levels should be added to the autocomplete (or used instead of JUL ones if not possible to combine them) to avoid having the properties marked as errors in VS code.
Thanks in advance.
The text was updated successfully, but these errors were encountered: