Attempt to fix log redirection

This commit is contained in:
Kris De Volder
2017-11-22 13:03:21 -08:00
parent 80d80758f6
commit cc75054281
7 changed files with 39 additions and 24 deletions

View File

@@ -16,12 +16,12 @@ import org.springframework.ide.vscode.bosh.models.BoshCommandCloudConfigProvider
import org.springframework.ide.vscode.bosh.models.BoshCommandReleasesProvider;
import org.springframework.ide.vscode.bosh.models.BoshCommandStemcellsProvider;
import org.springframework.ide.vscode.commons.languageserver.LaunguageServerApp;
import org.springframework.ide.vscode.commons.util.Log;
import org.springframework.ide.vscode.commons.util.LogRedirect;
public class Main {
public static void main(String[] args) throws IOException, InterruptedException {
String serverName = "bosh-language-server";
Log.redirectToFile(serverName);
LogRedirect.redirectToFile(serverName);
BoshCliConfig cliConfig = new BoshCliConfig();
LaunguageServerApp.start(serverName, () -> new BoshLanguageServer(
cliConfig,