From 8c217c47eeb80e306c073fa05c42994c317c6613 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Wed, 28 Oct 2020 00:16:16 +0100 Subject: [PATCH] Fixed a typo that caused a logger to log as another class Signed-off-by: Louis Vallat --- src/main/java/xyz/vallat/louis/database/DBManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/xyz/vallat/louis/database/DBManager.java b/src/main/java/xyz/vallat/louis/database/DBManager.java index 90e451f..23fe42f 100644 --- a/src/main/java/xyz/vallat/louis/database/DBManager.java +++ b/src/main/java/xyz/vallat/louis/database/DBManager.java @@ -2,7 +2,6 @@ package xyz.vallat.louis.database; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import xyz.vallat.louis.MovieQuoteBot; import xyz.vallat.louis.codes.ExitCodes; import xyz.vallat.louis.env.EnvironmentVariables; @@ -17,7 +16,7 @@ import static xyz.vallat.louis.database.PropertyManager.initializeProperties; public final class DBManager { - private static final Logger logger = LoggerFactory.getLogger(MovieQuoteBot.class.getCanonicalName()); + private static final Logger logger = LoggerFactory.getLogger(DBManager.class.getCanonicalName()); private static final String CONNECTION_PREFIX = "postgresql"; private static final String USERNAME = System.getenv(EnvironmentVariables.DB_USERNAME.getValue()); private static final String PASSWORD = System.getenv(EnvironmentVariables.DB_PASSWORD.getValue());