I am trying to configure log4j 2.0 to report logs.
My config is saved as log4j2.xml and this is its content:
you should put your log4j2.xml into the classpath.
or set "log4j.configurationFile" system property to force to use your log4j2.xml
Please refer to: http://logging.apache.org/log4j/2.x/manual/configuration.html#AutomaticConfiguration