I\'m trying to configure Tomcat 8 to use Log4j2 for logging.
I\'ve found this reference for Logging in Tomcat using Log4j. It provides a sample log4j.properties file th
For system properties you need to prefix variables with "sys:" it indicates System Properties
Example:
appender.file.fileName=${sys:catalina.base}/logs/XXX.log
for more information go through below link http://logging.apache.org/log4j/2.x/manual/configuration.html#PropertySubstitution