DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13702>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13702

More options when naming log files using DailyRollingFileAppender

           Summary: More options when naming log files using
                    DailyRollingFileAppender
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Appender
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It would be nice to have more control over how log files get renamed when using
the DailyRollingFileAppender.  Currently,  you can only append something to the
end of the log file name.  For example, if you name your file MyApp.log, and use
the date pattern '.'yyyy-MM-dd'.log', your log file will be named something like
MyApp.log.2002-10-16.log.  It would be nice to name the file
MyApp.2002-10-16.log (removing the duplicate extension).  

One possibility would be a setting to allow specifying the entire log file name.
 For example:

   'MyApp.'yyyy-MM-dd'.log'

My second request would be to allow the filenames to be named to include the
date when they are created (instead of when they roll over).  One option might
be to allow the above log file specifier to be applied to the 'file' property of
the DailyRollingFileAppender.

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

Reply via email to