The file should do it for you: http://stauffer.james.googlepages.com/DateFormatFileAppender.java
On 6/19/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
I want to to change my apps (command line, not web driven) over to use log4j, instead of my current custom solution. Each app has its own log directory "logs/YYYY/MM/DD" where the logs (myapp.log) and other generated files are written. The daily rolling appender isn't really what I want, as I don't want all the logs dumped in one directory with different timestamps appended to them. I just want to be able to generate a myapp.log in the appropriate date directory each time the app runs, appending to the file if it exists. What appender do I use, and how do I configure it to do this? Thanks Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
