wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes log4j config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j config" Watch "log4j config" New topic

log4j config

gaucho sands

Joined: Aug 03, 2004
Posts: 6
I am trying to use the DailyRollingFileAppender and hv a few doubts/ questions:

I read in the manual that the DailyRollingFileAppender generates a daily log and attaches that day�s date to the log.I also read that the max file size is 10 Mb and that it is also possible to create backups such as test.log.1 and so on..

1.What happens if the log exceeds the 10 Mb within a single day ??
2. Say, the total log size is 30 Mb for any given day, are the logs generated and named as

and at the end of the day are all clubbed together to form test.log.03-08-2004 ??

Can this be possible ? and can anyone provide a small example ?

thnx in adv,
I agree. Here's the link: http://aspose.com/file-tools
subject: log4j config
Similar Threads
Append date in RollingFileAppender
Multiple log files using Log4j
log4j Question
log files to be delete using jboss service
Appending Date in the name of created LOG4J file