From ca620ff4ceddc7ec3817b6e240a2a28c2e2e60f2 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 31 Oct 2018 14:38:29 -0400 Subject: [PATCH] Loggers: Drop last deprecated logger function (#35082) Drop the last function from `Loggers` that just wraps Log4j2. Relates to #32174 --- .../java/org/elasticsearch/common/logging/Loggers.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/common/logging/Loggers.java b/server/src/main/java/org/elasticsearch/common/logging/Loggers.java index 28df6206e9bc5..9a5ab8730835a 100644 --- a/server/src/main/java/org/elasticsearch/common/logging/Loggers.java +++ b/server/src/main/java/org/elasticsearch/common/logging/Loggers.java @@ -76,15 +76,6 @@ public static Logger getLogger(Logger parentLogger, String s) { return ESLoggerFactory.getLogger(prefix, parentLogger.getName() + s); } - /** - * Get or build a logger. - * @deprecated Prefer {@link LogManager#getLogger} - */ - @Deprecated - public static Logger getLogger(Class clazz) { - return ESLoggerFactory.getLogger(null, clazz); - } - private static String formatPrefix(String... prefixes) { String prefix = null; if (prefixes != null && prefixes.length > 0) {