Compare commits

...

1 commit

Author SHA1 Message Date
woodser
b5e5201fe5 use error level for error log file 2024-09-17 11:58:44 -04:00

View file

@ -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);