From c29840a15c8d31ad2794e9b1285ae17a0d92d995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20H=C3=B6fling?= Date: Mon, 17 May 2021 23:13:31 +0200 Subject: [PATCH] Configuration.java: Fix logging. Replace %s with {}, wich is used in log4j. --- core/src/main/java/org/mapfish/print/config/Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/mapfish/print/config/Configuration.java b/core/src/main/java/org/mapfish/print/config/Configuration.java index 52585c981d..28835f90ad 100644 --- a/core/src/main/java/org/mapfish/print/config/Configuration.java +++ b/core/src/main/java/org/mapfish/print/config/Configuration.java @@ -318,7 +318,7 @@ public final Template getTemplate(final String name) { this.accessAssertion.assertAccess("Configuration", this); template.assertAccessible(name); } else { - LOGGER.warn("Template '%s' does not exist. Options are: %s", name, this.templates.keySet()); + LOGGER.warn("Template '{}' does not exist. Options are: {}", name, this.templates.keySet()); } return template; }