diff --git a/src/main/java/net/snowflake/client/log/JDK14Logger.java b/src/main/java/net/snowflake/client/log/JDK14Logger.java index 8e4237f3a..abf215f90 100644 --- a/src/main/java/net/snowflake/client/log/JDK14Logger.java +++ b/src/main/java/net/snowflake/client/log/JDK14Logger.java @@ -26,7 +26,7 @@ public class JDK14Logger implements SFLogger { private Logger jdkLogger; - private Set logMethods = + private final Set logMethods = new HashSet<>(Arrays.asList("debug", "error", "info", "trace", "warn", "debugNoMask")); private static boolean isLegacyLoggerInit = false;