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.
-Dlog4j.configuration="location of the file"
in Eclipse IDE this will go in the VM arguments.
No comments:
Post a Comment