Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-24 Thread James Stauffer
Can you give details so I can determine if my appender has similiar problems? On 3/23/07, Curt Arnold <[EMAIL PROTECTED]> wrote: On Mar 23, 2007, at 1:12 PM, James Stauffer wrote: > What problem are there? I am using my DateFormatFileAppender > extensively in production (web app) and haven't

Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread Curt Arnold
On Mar 23, 2007, at 1:12 PM, James Stauffer wrote: What problem are there? I am using my DateFormatFileAppender extensively in production (web app) and haven't noticed any issues. The comment only applied to org.apache.log4j.RollingFileAppender and org.apache.log4j.DailyRollingFileAppende

Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread James Stauffer
What problem are there? I am using my DateFormatFileAppender extensively in production (web app) and haven't noticed any issues. On 3/23/07, Curt Arnold <[EMAIL PROTECTED]> wrote: The renaming and close then reopen logic in the rolling file appenders are problematic. There was some discussion

Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread Curt Arnold
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

Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread James Stauffer
DateFormatFileAppender doesn't require you to use sub-directories. You are correct that it doesn't support groupings of hours (watches). Both DateFormateFileAppender and DailyRollingFileAppender use SimpleDateFormat so they only work for the patterns in that class. I suspect that your request is

RE: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread Andrew Marlow
James Stauffer wrote: > I wrote an appender that always uses the formatted name. > http://stauffer.james.googlepages.com/DateFormatFileAppender.java > > On 3/23/07, Andrew Marlow <[EMAIL PROTECTED]> wrote: >> guys, >> >> What I >> would really like is an appender that writes directly to the targe

Re: Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread James Stauffer
I wrote an appender that always uses the formatted name. http://stauffer.james.googlepages.com/DateFormatFileAppender.java On 3/23/07, Andrew Marlow <[EMAIL PROTECTED]> 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 cl

Enh rqst: a variation on DailyRollingFileAppender

2007-03-23 Thread Andrew Marlow
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