From aa0bcd3e99fafc8402787e48c0b12df8f131e967 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 21 Feb 2022 12:41:04 +0100 Subject: [PATCH] print message to System.err because we want to see them on `systemctl status hacky` --- src/main/java/linux/general/hackyquizbot/QuizBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/linux/general/hackyquizbot/QuizBackend.java b/src/main/java/linux/general/hackyquizbot/QuizBackend.java index e2ed268..8b749e7 100644 --- a/src/main/java/linux/general/hackyquizbot/QuizBackend.java +++ b/src/main/java/linux/general/hackyquizbot/QuizBackend.java @@ -16,7 +16,7 @@ public class QuizBackend { static { try (Connection connection = DriverManager.getConnection(dbName, dbUsername, dbPassword)) { - System.out.println("Database connected!"); + System.err.println("Database connected!"); } catch (SQLException e) { System.err.println("Could not connect to DB.");