diff --git a/distribution/src/config/log4j2.properties b/distribution/src/config/log4j2.properties index 0d2df5e3ba2e1..36b5b03d9a110 100644 --- a/distribution/src/config/log4j2.properties +++ b/distribution/src/config/log4j2.properties @@ -52,9 +52,6 @@ appender.rolling_old.strategy.action.condition.nested_condition.type = IfAccumul appender.rolling_old.strategy.action.condition.nested_condition.exceeds = 2GB ################################################ -logger.esql.name = org.elasticsearch.xpack.esql -logger.esql.level = trace - rootLogger.level = info rootLogger.appenderRef.console.ref = console rootLogger.appenderRef.rolling.ref = rolling diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlParser.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlParser.java index 2f527c54430a7..8baee4be14914 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlParser.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlParser.java @@ -72,8 +72,8 @@ private T invokeParser( ParserRuleContext tree = parseFunction.apply(parser); - if (log.isDebugEnabled()) { - log.debug("Parse tree: {}", tree.toStringTree()); + if (log.isTraceEnabled()) { + log.trace("Parse tree: {}", tree.toStringTree()); } return result.apply(new AstBuilder(paramTokens), tree);