summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-05-23 11:59:59 +0200
committerSimon Rettberg2023-05-23 11:59:59 +0200
commitc5517cd2d4b4f7d0e8a1fdffb7af958790d5e101 (patch)
tree1e617941f61370695a3bba75adb9542fdb1d5528
parent[server] DB: Make .lastInsertId() actually work (diff)
downloadtutor-module-c5517cd2d4b4f7d0e8a1fdffb7af958790d5e101.tar.gz
tutor-module-c5517cd2d4b4f7d0e8a1fdffb7af958790d5e101.tar.xz
tutor-module-c5517cd2d4b4f7d0e8a1fdffb7af958790d5e101.zip
[server] log4j: Try to silence warnings from thrift lib
-rw-r--r--dozentenmodulserver/src/main/properties/log4j2.properties4
1 files changed, 4 insertions, 0 deletions
diff --git a/dozentenmodulserver/src/main/properties/log4j2.properties b/dozentenmodulserver/src/main/properties/log4j2.properties
index 563fe8df..b14a6594 100644
--- a/dozentenmodulserver/src/main/properties/log4j2.properties
+++ b/dozentenmodulserver/src/main/properties/log4j2.properties
@@ -19,3 +19,7 @@ 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
+
+logger.ttr.name=org.apache.thrift.transport
+logger.ttr.level=error
+logger.ttr.appenderRef.console.ref = logToConsole