Added log4j.properties file
Change-Id: I24c671e7ad5d1500336db89ad5e0f538972461bb
diff --git a/.gitignore b/.gitignore
index f993ee1..aa7d519 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,7 @@
!.gitignore
-/src/main/resources
+#/src/main/resources
# /src/main/antlr/cosmas/
/src/main/antlr/cosmas/c2ps_regex.g
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/AbstractQueryProcessor.java b/src/main/java/de/ids_mannheim/korap/query/serialize/AbstractQueryProcessor.java
index 72d7e0c..8d0b233 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/AbstractQueryProcessor.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/AbstractQueryProcessor.java
@@ -56,7 +56,7 @@
/**
* If true, print debug statements
*/
- public static boolean verbose = true;
+ public static boolean verbose = false;
protected Integer stackedObjects = 0;
/**
* Contains error arrays, consisting of an error code and a
diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties
new file mode 100644
index 0000000..fdaf516
--- /dev/null
+++ b/src/main/resources/log4j.properties
@@ -0,0 +1,6 @@
+log4j.rootLogger=DEBUG, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M%n %-5p: %m%n