commit | edc42ffaaa5222ebb935d036f42f46c30bc0ae9b | [log] [tgz] |
---|---|---|
author | Eliza Margaretha <margaretha@ids-mannheim.de> | Thu Oct 20 22:36:37 2016 +0200 |
committer | Eliza Margaretha <margaretha@ids-mannheim.de> | Thu Oct 20 22:36:37 2016 +0200 |
tree | 88d10cdd26f8f14997216258755220c2bf49aee7 | |
parent | aad7fe9a70e7c513fdc43a7f947cd2fd57b86a23 [diff] |
Added log4j.properties file Change-Id: I24c671e7ad5d1500336db89ad5e0f538972461bb
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