From 6e176cba9a3207b9b3a0f540abe41c2c86c9bf9f Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 8 Sep 2022 08:35:06 +0200 Subject: fixed LorenzLogger printing output into console --- src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt index c9c9d55c5..22977b468 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt @@ -41,6 +41,7 @@ class LorenzLogger(filePath: String) { val handler = FileHandler(fileName) handler.encoding ="utf-8" logger.addHandler(handler) + logger.useParentHandlers = false handler.formatter = object : Formatter() { override fun format(logRecord: LogRecord): String { val message = logRecord.message -- cgit