From 3500722f39e531e81fd4b0c29053a6c10ffb7131 Mon Sep 17 00:00:00 2001 From: Ryo Kuramoto Date: Thu, 14 Nov 2019 13:42:43 +0900 Subject: [PATCH] Improve logger.debug() --- .../org/codelibs/elasticsearch/auth/filter/ContentFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/codelibs/elasticsearch/auth/filter/ContentFilter.java b/src/main/java/org/codelibs/elasticsearch/auth/filter/ContentFilter.java index 5749e91..e5297aa 100644 --- a/src/main/java/org/codelibs/elasticsearch/auth/filter/ContentFilter.java +++ b/src/main/java/org/codelibs/elasticsearch/auth/filter/ContentFilter.java @@ -73,7 +73,7 @@ protected void processNext(final RestRequest request, for (final LoginConstraint constraint : constraints) { if (constraint.match(rawPath)) { if (logger.isDebugEnabled()) { - logger.debug(rawPath + " is filtered."); + logger.debug("{} is filtered.", rawPath); } final String token = authService.getToken(request);