package test.net.util;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
//import org.apache.logging.log4j.core.config.XMLConfiguration;

/**
 *
 * @author Stargator
 */
public class Log4j2Example {
	static final Logger logger = LogManager.getLogger(Log4j2Example.class.getName());

        public static void main(String[] args) {

		logger.trace("Entering Log4j Example.");
		Hello hello = new Hello();
		if (!hello.callMe()) {
			logger.error("Failing Now!");
		}
		logger.trace("Exiting Log4j Example.");
	}
}

@@ -104,72 +104,8 @@
 ger;
-%0A//import org.apache.logging.log4j.core.config.XMLConfiguration;
 %0A%0A/*
@@ -163,17 +163,20 @@
 ample %7B%0A
-%09
+    
 static f
@@ -254,16 +254,44 @@
 );%0A%0A    
+private Log4j2Example() %7B%7D%0A%0A
     publ
@@ -328,18 +328,24 @@
 rgs) %7B%0A%0A
-%09%09
+        
 logger.t
@@ -377,18 +377,24 @@
 ple.%22);%0A
-%09%09
+        
 Hello he
@@ -412,18 +412,24 @@
 ello();%0A
-%09%09
+        
 if (!hel
@@ -447,11 +447,20 @@
 ) %7B%0A
-%09%09%09
+            
 logg
@@ -489,14 +489,26 @@
 %22);%0A
-%09%09%7D%0A%09%09
+        %7D%0A        
 logg
@@ -547,9 +547,12 @@
 %22);%0A
-%09
+    
 %7D%0A%7D%0A

Address analysis issues