I use an xml file to configure my logger, how can I change the
dailyrollingfileappender file path from my java program?

The reason I want to change it is that the program may be installed in
various paths for different deployments, so I do not want to hardcode the
location of the log file in my log4j.xml, I want to change it to the start
path of my java class file. I already get the start path so I just need to
understand how to reconfigure the file path.

Thanks

Hendry

Reply via email to