neilcsmith-net commented on issue #6297: URL: https://github.com/apache/netbeans/issues/6297#issuecomment-1665348305
> At first, I tried to analyze logs to see what's what, but nothing reported was coming from this part of NetBeans. I then saw how to turn logging up for specific loggers, thus passing the argument `-J-Dorg.netbeans.modules.cpplite.editor.lsp.LanguageServerImpl.level=100` to target the specific logger of class [`org.netbeans.modules.cpplite.editor.lsp.LanguageServerImpl`](https://github.com/apache/netbeans/blob/master/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/lsp/LanguageServerImpl.java) > > And to my surprise, this made everything work as expected. I love logging side effects! This line possibly stands out https://github.com/apache/netbeans/blob/master/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/lsp/LanguageServerImpl.java#L126 This doesn't seem to do anything with the error stream when logging doesn't redirect it?! Now this can be Java 11+ this could use `Redirect.DISCARD`? cc/ @matthiasblaesing @jlahoda -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
