Hi,
       Herewith I am submitting the code for DailyRollingFileAppender
class, which provides more options to name the log file.  Also, the log
files created by the modified code will be named as
MyLog.yyyy-MM-dd.log, provided the file name is given as MyLog.log and
the date pattern as yyyy-MM-dd. i.e. the extension of the given file
name will be appended to the last of the log file instead of at the
middle.
       I have included  a new constructor in DailyRollingFileAppender,
RollingFileAppender and FileAppender classes which accepts the date
pattern and an option to name the log file.
       Please find the code attached along with this. I would be nice if
you let me know the status after review.

 Thanks and Regards,
 S. Radha
 SIP Technologies & Exports Ltd., Chennai, India.

Attachment: Patch13702.jar
Description: application/java-archive

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

Reply via email to