Commit 4cf979c2 authored by NicolaiO's avatar NicolaiO 🐼

Migrate to log4j2

parent 1a9c00b1
Pipeline #7155 passed with stage
in 1 minute and 5 seconds
......@@ -25,9 +25,9 @@
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.12.1</version>
</dependency>
<dependency>
......
......@@ -19,7 +19,8 @@ import org.apache.commons.configuration.HierarchicalConfiguration;
import org.apache.commons.configuration.SubnodeConfiguration;
import org.apache.commons.configuration.XMLConfiguration;
import org.apache.commons.configuration.tree.DefaultConfigurationNode;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jgrapht.DirectedGraph;
import org.jgrapht.experimental.dag.DirectedAcyclicGraph;
import org.jgrapht.graph.DefaultEdge;
......@@ -40,7 +41,7 @@ import edu.tigers.moduli.listenerVariables.ModulesStateVariable;
*/
public class Moduli
{
private static final Logger log = Logger.getLogger(Moduli.class.getName());
private static final Logger log = LogManager.getLogger(Moduli.class.getName());
private final Map<Class<? extends AModule>, AModule> modules = new HashMap<>();
private List<AModule> orderedModules = new LinkedList<>();
private SubnodeConfiguration globalConfiguration;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment