From 3da8f5624767fce51be212bc951a2c5b325fd60a Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 10 May 2022 18:00:21 -0400 Subject: [PATCH] log launcher into a file before router starts, launcher.log. Get rid of system.out logging. --- java/net/i2p/router/WinUpdateProcess.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/net/i2p/router/WinUpdateProcess.java b/java/net/i2p/router/WinUpdateProcess.java index ea639c6..d92630c 100644 --- a/java/net/i2p/router/WinUpdateProcess.java +++ b/java/net/i2p/router/WinUpdateProcess.java @@ -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); } } }