From 55ebdfcc6bd979605c9bb2b4092a422b035bc27e Mon Sep 17 00:00:00 2001 From: BobHanson Date: Thu, 28 May 2020 08:29:51 -0500 Subject: [PATCH] Gitter comment 2020.05.28 Cache.log.err(msg) not appearing --- src/jalview/javascript/log4j/Logger.java | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/jalview/javascript/log4j/Logger.java b/src/jalview/javascript/log4j/Logger.java index bb7eb34..183328d 100644 --- a/src/jalview/javascript/log4j/Logger.java +++ b/src/jalview/javascript/log4j/Logger.java @@ -90,10 +90,6 @@ public class Logger { switch (level.level) { - case Priority.FATAL_INT: - case Priority.ERROR_INT: - case Priority.WARN_INT: - case Priority.INFO_INT: case Priority.DEBUG_INT: log(o, e); break; @@ -109,10 +105,8 @@ public class Logger { switch (level.level) { - case Priority.FATAL_INT: - case Priority.ERROR_INT: - case Priority.WARN_INT: case Priority.INFO_INT: + case Priority.DEBUG_INT: log(o, e); break; } @@ -128,9 +122,9 @@ public class Logger { switch (level.level) { - case Priority.FATAL_INT: - case Priority.ERROR_INT: case Priority.WARN_INT: + case Priority.INFO_INT: + case Priority.DEBUG_INT: log(o, e); break; } @@ -146,8 +140,10 @@ public class Logger { switch (level.level) { - case Priority.FATAL_INT: case Priority.ERROR_INT: + case Priority.WARN_INT: + case Priority.INFO_INT: + case Priority.DEBUG_INT: log(o, e); break; } -- 1.7.10.2