From 6325b1ab178298b263e534e617af175093ce29e8 Mon Sep 17 00:00:00 2001 From: VenixPLL Date: Mon, 4 Jan 2021 10:13:09 +0100 Subject: [PATCH] Logging fix --- src/main/java/pl/venixpll/utils/LogUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pl/venixpll/utils/LogUtil.java b/src/main/java/pl/venixpll/utils/LogUtil.java index b4a9ee3..41d673b 100644 --- a/src/main/java/pl/venixpll/utils/LogUtil.java +++ b/src/main/java/pl/venixpll/utils/LogUtil.java @@ -61,7 +61,7 @@ public String format(final LogRecord record) { final String level = record.getLevel() == Level.SEVERE ? "ERROR" : record.getLevel() == Level.WARNING ? "WARN" : "INFO"; - return date.format(record.getMillis()) + " [" + level + "/" + Thread.currentThread().getName() + "] " + formatMessage(record) + System.lineSeparator(); + return date.format(record.getMillis()) + " [" + level + "/" + Thread.currentThread().getName() + "] " + formatMessage(record); } });