I am trying to implement log4j 2 but it keeps throwing the following error.
> ERROR StatusLogger Log4j2 could not find a logging implemen
Solved the error message by setting the system property for log4j2 configuration file. below is the below code.
System.setProperty("log4j.configurationFile","./path_to_the_log4j2_config_file/log4j2.xml"); Logger log = LogManager.getLogger(LogExample.class.getName());