Updated log4j to log4j2
Change-Id: Ia00e41a9f26b515eb24dc7a6d5e7cd052a1cbeb7
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml
new file mode 100644
index 0000000..2528735
--- /dev/null
+++ b/src/main/resources/log4j2.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration>
+ <Appenders>
+ <Console name="Console" target="SYSTEM_OUT">
+ <PatternLayout pattern="%5p (%F:%L) -> %m%n"/>
+ </Console>
+ </Appenders>
+ <Loggers>
+ <Root level="error">
+ <AppenderRef ref="Console"/>
+ </Root>
+ <!--
+ <Logger name="org.glassfish.grizzly.http.server.NetworkListener"
+ level="trace">
+ <AppenderRef ref="Console"/>
+ </Logger>
+ <Logger name="de.ids_mannheim.korap.KrillIndex"
+ level="trace">
+ <AppenderRef ref="Console"/>
+ </Logger>
+ -->
+ </Loggers>
+</Configuration>