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'