From 45fff184c28b9b8df03db2696b8d5d587a53106a Mon Sep 17 00:00:00 2001
From: timis1 <12120641+timis1@users.noreply.github.com>
Date: Wed, 13 Mar 2024 09:33:25 +0200
Subject: [PATCH] [JAVA-32263] Review log statements for projects - Week 10 -
Manually Created (#16096)
---
.../java-calcite/src/main/resources/logback.xml | 14 ++++++++++++++
.../src/main/resources/application.yml | 5 ++---
.../src/main/resources/logback.xml | 16 ++++++++++++++++
.../src/test/resources/application.properties | 2 +-
.../src/main/resources/logback.xml | 16 ++++++++++++++++
5 files changed, 49 insertions(+), 4 deletions(-)
create mode 100644 persistence-modules/java-calcite/src/main/resources/logback.xml
create mode 100644 persistence-modules/spring-data-mongodb-2/src/main/resources/logback.xml
create mode 100644 spring-security-modules/spring-security-web-boot-3/src/main/resources/logback.xml
diff --git a/persistence-modules/java-calcite/src/main/resources/logback.xml b/persistence-modules/java-calcite/src/main/resources/logback.xml
new file mode 100644
index 0000000000..929cde67ec
--- /dev/null
+++ b/persistence-modules/java-calcite/src/main/resources/logback.xml
@@ -0,0 +1,14 @@
+
+
+
+
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/persistence-modules/spring-boot-persistence-3/src/main/resources/application.yml b/persistence-modules/spring-boot-persistence-3/src/main/resources/application.yml
index bb9e377c34..c805ac963b 100644
--- a/persistence-modules/spring-boot-persistence-3/src/main/resources/application.yml
+++ b/persistence-modules/spring-boot-persistence-3/src/main/resources/application.yml
@@ -1,4 +1,3 @@
-
logging.level.org.hibernate:
- SQL: DEBUG
- type.descriptor.sql.BasicBinder: TRACE
\ No newline at end of file
+ SQL: INFO
+ type.descriptor.sql.BasicBinder: INFO
\ No newline at end of file
diff --git a/persistence-modules/spring-data-mongodb-2/src/main/resources/logback.xml b/persistence-modules/spring-data-mongodb-2/src/main/resources/logback.xml
new file mode 100644
index 0000000000..08ed142f40
--- /dev/null
+++ b/persistence-modules/spring-data-mongodb-2/src/main/resources/logback.xml
@@ -0,0 +1,16 @@
+
+
+
+
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-security/src/test/resources/application.properties b/spring-boot-modules/spring-boot-security/src/test/resources/application.properties
index 88bc213245..5494069009 100644
--- a/spring-boot-modules/spring-boot-security/src/test/resources/application.properties
+++ b/spring-boot-modules/spring-boot-security/src/test/resources/application.properties
@@ -1,2 +1,2 @@
-logging.level.root=DEBUG
+logging.level.root=ERROR
logging.level.com.baeldung.integrationtesting=ERROR
diff --git a/spring-security-modules/spring-security-web-boot-3/src/main/resources/logback.xml b/spring-security-modules/spring-security-web-boot-3/src/main/resources/logback.xml
new file mode 100644
index 0000000000..79357f34c2
--- /dev/null
+++ b/spring-security-modules/spring-security-web-boot-3/src/main/resources/logback.xml
@@ -0,0 +1,16 @@
+
+
+
+
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file