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
da0d85c3
Commit
da0d85c3
authored
Sep 03, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecate Log4JLoggingSystem
Fixes gh-3893
parent
f4dcef28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Log4JLoggingSystem.java
...pringframework/boot/logging/log4j/Log4JLoggingSystem.java
+3
-0
Log4JLoggingSystemTests.java
...framework/boot/logging/log4j/Log4JLoggingSystemTests.java
+1
-0
No files found.
spring-boot/src/main/java/org/springframework/boot/logging/log4j/Log4JLoggingSystem.java
View file @
da0d85c3
...
@@ -38,7 +38,10 @@ import org.springframework.util.StringUtils;
...
@@ -38,7 +38,10 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @author Phillip Webb
* @author Dave Syer
* @author Dave Syer
* @author Andy Wilkinson
* @author Andy Wilkinson
* @deprecated in Spring Boot 1.3 in favor of Apache Log4j 2 (following Apache's EOL
* declaration for log4j 1.x)
*/
*/
@Deprecated
public
class
Log4JLoggingSystem
extends
Slf4JLoggingSystem
{
public
class
Log4JLoggingSystem
extends
Slf4JLoggingSystem
{
private
static
final
Map
<
LogLevel
,
Level
>
LEVELS
;
private
static
final
Map
<
LogLevel
,
Level
>
LEVELS
;
...
...
spring-boot/src/test/java/org/springframework/boot/logging/log4j/Log4JLoggingSystemTests.java
View file @
da0d85c3
...
@@ -43,6 +43,7 @@ import static org.junit.Assert.assertTrue;
...
@@ -43,6 +43,7 @@ import static org.junit.Assert.assertTrue;
* @author Phillip Webb
* @author Phillip Webb
* @author Andy Wilkinson
* @author Andy Wilkinson
*/
*/
@SuppressWarnings
(
"deprecation"
)
public
class
Log4JLoggingSystemTests
extends
AbstractLoggingSystemTests
{
public
class
Log4JLoggingSystemTests
extends
AbstractLoggingSystemTests
{
@Rule
@Rule
...
...
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