log launcher into a file before router starts, launcher.log. Get rid of system.out logging.

This commit is contained in:
idk
2022-05-10 18:00:21 -04:00
parent 31c60f74e1
commit 3da8f56247

View File

@ -59,7 +59,7 @@ class WinUpdateProcess implements Runnable {
try {
pb.directory(workingDir).redirectErrorStream(true).redirectOutput(logFile).start();
} catch (IOException ex) {
_log.Error("Unable to run update-program in background. Update will fail.");
_log.error("Unable to run update-program in background. Update will fail.");
}
} else {
// If we cant write to the log file and we're on Windows, use the elevator to
@ -74,7 +74,7 @@ class WinUpdateProcess implements Runnable {
try {
runUpdateInstaller();
} catch (IOException ioe) {
_log.Error("Error running updater, update may fail." + ioe);
_log.error("Error running updater, update may fail." + ioe);
}
}
}