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
6bc498cb
Commit
6bc498cb
authored
Jul 06, 2017
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
31101bdb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
LoggingApplicationListener.java
...work/boot/context/logging/LoggingApplicationListener.java
+2
-2
No files found.
spring-boot/src/main/java/org/springframework/boot/context/logging/LoggingApplicationListener.java
View file @
6bc498cb
...
@@ -304,10 +304,10 @@ public class LoggingApplicationListener implements GenericApplicationListener {
...
@@ -304,10 +304,10 @@ public class LoggingApplicationListener implements GenericApplicationListener {
}
}
Binder
binder
=
Binder
.
get
(
environment
);
Binder
binder
=
Binder
.
get
(
environment
);
binder
.
bind
(
"logging.level"
,
STRING_STRING_MAP
).
orElseGet
(
Collections:
:
emptyMap
)
binder
.
bind
(
"logging.level"
,
STRING_STRING_MAP
).
orElseGet
(
Collections:
:
emptyMap
)
.
forEach
((
name
,
level
)
->
setLogLevel
(
system
,
environment
,
name
,
level
));
.
forEach
((
name
,
level
)
->
setLogLevel
(
system
,
name
,
level
));
}
}
private
void
setLogLevel
(
LoggingSystem
system
,
Environment
environment
,
String
name
,
private
void
setLogLevel
(
LoggingSystem
system
,
String
name
,
String
level
)
{
String
level
)
{
try
{
try
{
name
=
(
name
.
equalsIgnoreCase
(
LoggingSystem
.
ROOT_LOGGER_NAME
)
?
null
:
name
);
name
=
(
name
.
equalsIgnoreCase
(
LoggingSystem
.
ROOT_LOGGER_NAME
)
?
null
:
name
);
...
...
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