Commit da0d85c3 authored by Phillip Webb's avatar Phillip Webb

Deprecate Log4JLoggingSystem

Fixes gh-3893
parent f4dcef28
...@@ -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;
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment