Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
92ce94b3
Commit
92ce94b3
authored
Jun 10, 2020
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align default log levels for Log4j2 and Logback
Fixes gh-21293
parent
3fe4fb13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
DefaultLogbackConfiguration.java
...ork/boot/logging/logback/DefaultLogbackConfiguration.java
+1
-0
defaults.xml
...ces/org/springframework/boot/logging/logback/defaults.xml
+1
-0
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java
View file @
92ce94b3
...
...
@@ -109,6 +109,7 @@ class DefaultLogbackConfiguration {
config
.
logger
(
"org.apache.tomcat.util.net.NioSelectorPool"
,
Level
.
WARN
);
config
.
logger
(
"org.eclipse.jetty.util.component.AbstractLifeCycle"
,
Level
.
ERROR
);
config
.
logger
(
"org.hibernate.validator.internal.util.Version"
,
Level
.
WARN
);
config
.
logger
(
"org.springframework.boot.actuate.endpoint.jmx"
,
Level
.
WARN
);
}
private
Appender
<
ILoggingEvent
>
consoleAppender
(
LogbackConfigurator
config
)
{
...
...
spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/defaults.xml
View file @
92ce94b3
...
...
@@ -18,4 +18,5 @@ Default logback configuration provided for import
<logger
name=
"org.apache.tomcat.util.net.NioSelectorPool"
level=
"WARN"
/>
<logger
name=
"org.eclipse.jetty.util.component.AbstractLifeCycle"
level=
"ERROR"
/>
<logger
name=
"org.hibernate.validator.internal.util.Version"
level=
"WARN"
/>
<logger
name=
"org.springframework.boot.actuate.endpoint.jmx"
level=
"WARN"
/>
</included>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment