Hi I am using log4j api to log the informations. I have used log4j_conffig.xml file for creating the log files. I have given the absolute path for each log file in param tag value.
eg :
appender name="GPREPROCESSOR_DEBUG" class="org.apache.log4j.DailyRollingFileAppender">
param name="DatePattern" value="'_'yyyyMMdd"/>
param name="File" value="D:/logFiles/GPreprocessor_Debug.log"/>
layout class="com.dnb.genericpreprocessor.common.log.AppXMLLayout"/>
/appender>
i do not want to give "D:/logFiles/" directly.Actually that path is dynamic based on my project location. so how can i give that