itsnotmehere
Programmer
Hi all,
Fairly new to using Log4J. I have a state where I need to start a new log file once every week and if the file size exceeds 20 MB in the mean time then it needs to start a new logfile as well.
I understand that RollingFileAppender and DailyRollingFileAppender can be used individually but my questions is can we club these two together to achieve my purpose.
Thanks in advance for your time.
Fairly new to using Log4J. I have a state where I need to start a new log file once every week and if the file size exceeds 20 MB in the mean time then it needs to start a new logfile as well.
I understand that RollingFileAppender and DailyRollingFileAppender can be used individually but my questions is can we club these two together to achieve my purpose.
Thanks in advance for your time.