I wrote an appender that I think could do that. If the "separate" isn't set then it will create a file only once per run. http://stauffer.james.googlepages.com/DateFormatFileAppender.java
On Fri, Feb 15, 2008 at 10:57 AM, Jim Reilly <[EMAIL PROTECTED]> wrote: > > Per each restart of an app, I would like to have the ability to have the log > files roll (like the RollingFileAppender), so each new run has its own log > file run. Is there are my to do this via the log4j config file or another > file appender? > > I could see how that might be difficult to do or problems that may have, but > given a preset of conditions for what an Appender like that would be, I > 'think' it could work....? ;-) > > Thanks, > Jim > > > > > > > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- James A. N. Stauffer http://www.geocities.com/stauffer_james/ 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]
