On Mar 23, 2007, at 10:02 AM, Andrew Marlow wrote:

guys,

I am using DailyRollingFileAppender to have an AM and PM log for each
day. This isn't quite what I want but is close enough for now. What I
would really like is an appender that writes directly to the target
file, rather than it writing it to a different file and rolling that
file over at a certain time. It's the rolling over that I don't like.

The renaming and close then reopen logic in the rolling file appenders are problematic. There was some discussion and some code on MultiFileAppender back in October that was trying to address problems like having distinct log files per thread, but could also address some of the same issues as the RollingFileAppenders but without ever renaming files. However, I got distracted and haven't been able to get back to it. Search the archives if you are interested in the back story.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to