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
4a812fc2
Commit
4a812fc2
authored
May 20, 2020
by
Scott Frederick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix log name in ServletWebServerApplicationContext
Fixes gh-21354
parent
4a896f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ServletWebServerApplicationContext.java
...b/servlet/context/ServletWebServerApplicationContext.java
+2
-3
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java
View file @
4a812fc2
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -48,7 +48,6 @@ import org.springframework.context.ApplicationContext;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.core.io.Resource
;
import
org.springframework.util.StringUtils
;
import
org.springframework.web.context.ContextLoader
;
import
org.springframework.web.context.ContextLoaderListener
;
import
org.springframework.web.context.ServletContextAware
;
import
org.springframework.web.context.WebApplicationContext
;
...
...
@@ -85,6 +84,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
*
* @author Phillip Webb
* @author Dave Syer
* @author Scott Frederick
* @since 2.0.0
* @see AnnotationConfigServletWebServerApplicationContext
* @see XmlServletWebServerApplicationContext
...
...
@@ -270,7 +270,6 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
}
return
;
}
Log
logger
=
LogFactory
.
getLog
(
ContextLoader
.
class
);
servletContext
.
log
(
"Initializing Spring embedded WebApplicationContext"
);
try
{
servletContext
.
setAttribute
(
WebApplicationContext
.
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
,
this
);
...
...
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