summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver
diff options
context:
space:
mode:
authorSimon Rettberg2022-11-09 09:46:40 +0100
committerSimon Rettberg2022-11-09 09:46:40 +0100
commit95144432b5ac837c4bc11f1be1e04436253b628f (patch)
tree06074e3572931f73a9f4befef41421ac9bb1b941 /dozentenmodulserver
parent[server] Remove unused throws annotation (diff)
downloadtutor-module-95144432b5ac837c4bc11f1be1e04436253b628f.tar.gz
tutor-module-95144432b5ac837c4bc11f1be1e04436253b628f.tar.xz
tutor-module-95144432b5ac837c4bc11f1be1e04436253b628f.zip
[server] Suppress log messages by mariadb connector
Diffstat (limited to 'dozentenmodulserver')
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
index bb48207f..e98f4d23 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
@@ -49,6 +49,7 @@ public class App {
public static void main(String[] args) throws TTransportException, NoSuchAlgorithmException, IOException,
KeyManagementException
{
+ System.setProperty("mariadb.logging.disable", "true");
// setup basic logging appender to log output on console if no external appender (log4j.properties) is configured
if (org.apache.logging.log4j.core.Logger.class.cast(LogManager.getRootLogger()).getAppenders().isEmpty()) {
Configurator.initialize(new DefaultConfiguration());