From b5e5201fe58c1c621e940cdd02a6406443c961e5 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 17 Sep 2024 11:58:44 -0400 Subject: [PATCH] use error level for error log file --- common/src/main/java/haveno/common/app/Log.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/main/java/haveno/common/app/Log.java b/common/src/main/java/haveno/common/app/Log.java index 58dc95e1df..d02870c990 100644 --- a/common/src/main/java/haveno/common/app/Log.java +++ b/common/src/main/java/haveno/common/app/Log.java @@ -67,7 +67,6 @@ public class Log { appender.start(); // log errors in separate file - // not working as expected still.... damn logback... PatternLayoutEncoder errorEncoder = new PatternLayoutEncoder(); errorEncoder.setContext(loggerContext); errorEncoder.setPattern("%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger: %msg%n%ex"); @@ -92,7 +91,7 @@ public class Log { errorTriggeringPolicy.start(); ThresholdFilter thresholdFilter = new ThresholdFilter(); - thresholdFilter.setLevel("WARN"); + thresholdFilter.setLevel("ERROR"); thresholdFilter.start(); errorAppender.setRollingPolicy(errorRollingPolicy);