From 6888d6d79d21fcf4651b894ed0143b28dc0ab431 Mon Sep 17 00:00:00 2001 From: Jan van Mansum Date: Fri, 17 May 2024 11:59:10 +0200 Subject: [PATCH] Changes to default and test logging config --- src/main/assembly/dist/cfg/config.yml | 2 ++ src/test/resources/debug-etc/config.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/assembly/dist/cfg/config.yml b/src/main/assembly/dist/cfg/config.yml index cec3712..75c36eb 100644 --- a/src/main/assembly/dist/cfg/config.yml +++ b/src/main/assembly/dist/cfg/config.yml @@ -40,3 +40,5 @@ logging: archive: false timeZone: system currentLogFilename: /var/opt/dans.knaw.nl/log/dd-manage-deposit/dd-manage-deposit.log + loggers: + 'org.hibernate.engine.internal.StatisticalLoggingSessionEventListener': 'OFF' diff --git a/src/test/resources/debug-etc/config.yml b/src/test/resources/debug-etc/config.yml index bf18e56..45b8860 100644 --- a/src/test/resources/debug-etc/config.yml +++ b/src/test/resources/debug-etc/config.yml @@ -41,4 +41,7 @@ logging: timeZone: system currentLogFilename: data/dd-manage-deposit.log - type: console - logFormat: "%-5p [%d{ISO8601}] [%t] %c: %m%n%rEx" \ No newline at end of file + logFormat: "%-5p [%d{ISO8601}] [%t] %c: %m%n%rEx" + loggers: + 'nl.knaw.dans': DEBUG + 'org.hibernate.engine.internal.StatisticalLoggingSessionEventListener': 'OFF'