🔊 Use correct logging framework in Starter
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 9 Nov 2024 21:39:28 +0000 (22:39 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 9 Nov 2024 21:39:28 +0000 (22:39 +0100)
src/main/java/net/pterodactylus/rhynodge/engine/Starter.java

index 3bcde3d..477a755 100644 (file)
@@ -19,7 +19,6 @@ package net.pterodactylus.rhynodge.engine;
 
 import java.io.IOException;
 import java.util.Arrays;
-import java.util.logging.Logger;
 
 import net.pterodactylus.rhynodge.actions.EmailAction;
 import net.pterodactylus.rhynodge.loader.ChainWatcher;
@@ -30,6 +29,7 @@ import net.pterodactylus.util.inject.ObjectBinding;
 
 import com.google.inject.Guice;
 import com.google.inject.Injector;
+import org.apache.log4j.Logger;
 
 /**
  * Rhynodge main starter class.
@@ -65,6 +65,6 @@ public class Starter {
                return new EmailAction(smtpHostname, errorEmailSender, errorEmailRecipient);
        }
 
-       private static final Logger logger = Logger.getLogger(Starter.class.getName());
+       private static final Logger logger = Logger.getLogger(Starter.class);
 
 }