From 920f26ebe9145fed815aa30ed3c8c433964f3dd0 Mon Sep 17 00:00:00 2001 From: Software Magico Date: Fri, 13 Sep 2024 11:24:30 +0200 Subject: [PATCH] Fixing log --- .../src/main/java/com/softwaremagico/kt/logger/BasicLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/kendo-tournament-logger/src/main/java/com/softwaremagico/kt/logger/BasicLogger.java b/backend/kendo-tournament-logger/src/main/java/com/softwaremagico/kt/logger/BasicLogger.java index 94668b392..43a2aeb88 100644 --- a/backend/kendo-tournament-logger/src/main/java/com/softwaremagico/kt/logger/BasicLogger.java +++ b/backend/kendo-tournament-logger/src/main/java/com/softwaremagico/kt/logger/BasicLogger.java @@ -60,7 +60,7 @@ public static void warning(Logger logger, String className, String messageTempla } } final String templateWithClass = className + ": " + messageTemplate; - logger.warn(templateWithClass, arguments); + logger.warn(templateWithClass.replaceAll("[\n\r]", "_"), arguments); } /**