@@ -0,0 +1,1214 @@
+package io.quarkus.websockets.client.runtime;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Aimport org.graalvm.nativeimage.hosted.Feature;%0A%0Aimport com.oracle.svm.core.annotate.AutomaticFeature;%0A%0A/**%0A * Disables logging during the analysis phase%0A */%0A@AutomaticFeature%0Apublic class DisableLoggingAutoFeature implements Feature %7B%0A%0A    private static final String%5B%5D CATEGORIES = %7B%0A            %22io.undertow.websockets%22,%0A    %7D;%0A%0A    private final Map%3CString, Level%3E categoryMap = new HashMap%3C%3E(CATEGORIES.length);%0A%0A    @Override%0A    public void beforeAnalysis(BeforeAnalysisAccess access) %7B%0A        for (String category : CATEGORIES) %7B%0A            Logger logger = Logger.getLogger(category);%0A            categoryMap.put(category, logger.getLevel());%0A            logger.setLevel(Level.WARNING);%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void afterAnalysis(AfterAnalysisAccess access) %7B%0A        for (String category : CATEGORIES) %7B%0A            Level level = categoryMap.remove(category);%0A            if (level != null) %7B%0A                Logger logger = Logger.getLogger(category);%0A                logger.setLevel(level);%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Disable Websockets logging during native image build