code cleanup

This commit is contained in:
s5260822 2025-03-14 13:06:20 +01:00
parent 68db785ead
commit f0803b1895

View file

@ -59,9 +59,7 @@ public class MongoDBHandler {
public MongoDBHandler() {
// Load the MongoDB configuration from the properties file
String propertiesFilePath = "config/database.properties";
// Set loglevel for slf4j to avoid spam
// Set loglevel for slf4j to avoid spam // TODO: Fix this (optional)
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "error");
Properties mongoProperties = PropertiesUtils.readPropertiesFromResource(propertiesFileName);
// Zugangsdaten