Fixed a typo that caused a logger to log as another class

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-10-28 00:16:16 +01:00
parent df956d42d4
commit 8c217c47ee

View File

@ -2,7 +2,6 @@ package xyz.vallat.louis.database;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import xyz.vallat.louis.MovieQuoteBot;
import xyz.vallat.louis.codes.ExitCodes; import xyz.vallat.louis.codes.ExitCodes;
import xyz.vallat.louis.env.EnvironmentVariables; import xyz.vallat.louis.env.EnvironmentVariables;
@ -17,7 +16,7 @@ import static xyz.vallat.louis.database.PropertyManager.initializeProperties;
public final class DBManager { 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 CONNECTION_PREFIX = "postgresql";
private static final String USERNAME = System.getenv(EnvironmentVariables.DB_USERNAME.getValue()); private static final String USERNAME = System.getenv(EnvironmentVariables.DB_USERNAME.getValue());
private static final String PASSWORD = System.getenv(EnvironmentVariables.DB_PASSWORD.getValue()); private static final String PASSWORD = System.getenv(EnvironmentVariables.DB_PASSWORD.getValue());