I have configured DailyRollingFileappender in log4j.xml.During run time in sub project,
- I need to pass the path for Log file for that specific subProject.
- I don't want to pass the Path as VM arguments.
- I have customized DailyRollingFileappender and added a method to set the Path.
- I want to access the DailyRollingFileappender in main() method of my sub project.
- I want to modify/add the Parameters for this Existing DailyRollingFileappender.
- After that log files Should adopt that changes(Path of that Log file) which i had passed as Parameters.