@@ -0,0 +1,965 @@
+import org.apache.logging.log4j.Level;%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.apache.logging.log4j.core.config.Configurator;%0A%0Apublic class HelloLog4J2ConfigProgrammatic %7B%0A    private static final Logger logger = LogManager.getLogger();%0A    public static void main(String... args) %7B%0A        System.out.println(%22Hello Log4J2 Config Programmatic!%22);%0A%0A        logger.info(%22This is an info entry%22);%0A        logger.debug(%22This is a debug entry%22);%0A        logger.warn(%22This is a warn entry%22);%0A        logger.error(%22This is an error entry%22);%0A%0A        Configurator.setAllLevels(logger.getName(), Level.DEBUG);%0A%0A        logger.info(%22This is an info entry after setting level = DEBUG%22);%0A        logger.debug(%22This is a debug entry after setting level = DEBUG%22);%0A        logger.warn(%22This is a warn entry after setting level = DEBUG%22);%0A        logger.error(%22This is an error entry after setting level = DEBUG%22);%0A%0A    %7D%0A%7D%0A

Create HelloLog4J2ConfigProgrammatic.java