Redirect language server logs to file, for all language servers

This is because vscode/atom clients do not like verbose log output
(JavaScript too slow compared to java?) and drop the connection to
the server.
This commit is contained in:
Kris De Volder
2017-11-17 15:18:42 -08:00
parent cf98184b35
commit ac1b3ae109
6 changed files with 14 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ import org.springframework.ide.vscode.commons.languageserver.util.SimpleLanguage
public class Main {
public static void main(String[] args) throws IOException, InterruptedException {
LaunguageServerApp.start("boot-java", () -> {
LaunguageServerApp.start("boot-java-language-server", () -> {
SimpleLanguageServer server = new BootJavaLanguageServer(
BootJavaLanguageServerParams.createDefault()
);