From 4539e7adc087b5dcb471176ce42dc96fc86c8f6a Mon Sep 17 00:00:00 2001 From: "Randy D. Wallace Jr" Date: Mon, 3 Feb 2014 01:04:03 -0500 Subject: [PATCH] Add EnhancedPatternLayout to logging.yml options --- .../org/elasticsearch/common/logging/log4j/LogConfigurator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java b/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java index 20fa942e8ac..f93b93bbc11 100644 --- a/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java +++ b/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java @@ -67,6 +67,7 @@ public class LogConfigurator { .put("html", "org.apache.log4j.HTMLLayout") .put("pattern", "org.apache.log4j.PatternLayout") .put("consolePattern", "org.apache.log4j.PatternLayout") + .put("enhancedPattern", "org.apache.log4j.EnhancedPatternLayout") .put("ttcc", "org.apache.log4j.TTCCLayout") .put("xml", "org.apache.log4j.XMLLayout") .immutableMap();