Rolling to different location using DailyRollingFileAppender

D

Dharmveer Jain

I am using DailyRollingFileAppender. I want to know how can I enable
rolling done to some different location (not at the path specified in
log4j.appender.xxx.File). So whenever date has been changed the
rolled file should get created at some other location and the new log
file gets created in the original location.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,114
Latest member
GlucoPremiumReview
Top