diff --git a/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java b/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java index b29e2f1d28..4e84b84523 100644 --- a/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java +++ b/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java @@ -197,7 +197,7 @@ public class Autoupdate { return null; // just paranoia check return fullName; } catch (IOException e) { - System.err.println("Error reading " + BUNDLE_NAME_FILE); + System.err.println(new Date() + ": Error reading " + BUNDLE_NAME_FILE); return null; } } diff --git a/java_console/io/src/main/java/com/rusefi/io/tcp/TcpConnector.java b/java_console/io/src/main/java/com/rusefi/io/tcp/TcpConnector.java index 48f244aa28..1bd2a52727 100644 --- a/java_console/io/src/main/java/com/rusefi/io/tcp/TcpConnector.java +++ b/java_console/io/src/main/java/com/rusefi/io/tcp/TcpConnector.java @@ -4,6 +4,7 @@ import java.io.IOException; import java.net.Socket; import java.util.Collection; import java.util.Collections; +import java.util.Date; /** * @author Andrey Belomutskiy @@ -70,7 +71,7 @@ public class TcpConnector { s.close(); return true; } catch (IOException e) { - System.out.println("Connection refused in getAvailablePorts(): simulator not running"); + System.out.println(new Date() + ": Connection refused in getAvailablePorts(): simulator not running"); return false; } } diff --git a/java_console/ui/src/main/java/com/rusefi/maintenance/VersionChecker.java b/java_console/ui/src/main/java/com/rusefi/maintenance/VersionChecker.java index 0b4bb32d2b..1a54ed3b0d 100644 --- a/java_console/ui/src/main/java/com/rusefi/maintenance/VersionChecker.java +++ b/java_console/ui/src/main/java/com/rusefi/maintenance/VersionChecker.java @@ -10,6 +10,7 @@ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; +import java.util.Date; import java.util.HashMap; import java.util.Map; @@ -64,9 +65,9 @@ public class VersionChecker { } final Integer javaVersion = parseNotNull(map.get(JAVA_CONSOLE_TAG), "VC value"); - System.out.println("Server recommends java_console version " + javaVersion + " or newer"); + System.out.println(new Date() + ": Server recommends java_console version " + javaVersion + " or newer"); showUpdateWarningIfNeeded("dev console", javaVersion, CONSOLE_VERSION); - System.out.println("Server recommends firmware " + map.get(FIRMWARE_TAG) + " or newer"); + System.out.println(new Date() + ": Server recommends firmware " + map.get(FIRMWARE_TAG) + " or newer"); String criticalUrl = map.get("critical_url"); if (criticalUrl != null && !criticalUrl.trim().isEmpty()) {