Friday, September 30, 2016

Configuring Log4j2.xml file outside the class path

To configure the log4j2.xml file out side a class path location we need to use the jvm argument.

-Dlog4j.configuration="location of the file"

in Eclipse IDE this will go in the VM arguments.

No comments:

Post a Comment