summaryrefslogtreecommitdiffstats
path: root/daemon/src/main/properties/log4j2.properties
diff options
context:
space:
mode:
authorManuel Bentele2021-12-16 12:58:44 +0100
committerManuel Bentele2021-12-16 12:58:44 +0100
commit96b0f232f1fcb4b48a72dbe96f01270a09d4cf70 (patch)
treeb22ee34dd249424e4c77cebf8c40d30bf5788d44 /daemon/src/main/properties/log4j2.properties
parent[api] Update version of gson dependency (diff)
downloadtaskman-lite-96b0f232f1fcb4b48a72dbe96f01270a09d4cf70.tar.gz
taskman-lite-96b0f232f1fcb4b48a72dbe96f01270a09d4cf70.tar.xz
taskman-lite-96b0f232f1fcb4b48a72dbe96f01270a09d4cf70.zip
[daemon] Add log4j2 configuration for proper logging levels
Diffstat (limited to 'daemon/src/main/properties/log4j2.properties')
-rw-r--r--daemon/src/main/properties/log4j2.properties21
1 files changed, 21 insertions, 0 deletions
diff --git a/daemon/src/main/properties/log4j2.properties b/daemon/src/main/properties/log4j2.properties
new file mode 100644
index 0000000..563fe8d
--- /dev/null
+++ b/daemon/src/main/properties/log4j2.properties
@@ -0,0 +1,21 @@
+status=error
+name=log4j2PropertiesConfig
+
+#
+# root level logging configuration
+#
+rootLogger.level=all
+rootLogger.appenderRefs=stdout
+rootLogger.appenderRef.stdout.ref=logToConsole
+
+#
+# configuration for console output
+#
+appenders=console
+
+appender.console.type=Console
+appender.console.name=logToConsole
+appender.console.layout.type=PatternLayout
+appender.console.layout.pattern=[%t] %-5p %F - %m%n
+appender.console.filter.threshold.type=ThresholdFilter
+appender.console.filter.threshold.level=info