Hi,

A good approach as you said, would be to extend the appender you need.

Regards,
Norbert

On 9/18/06, kingwell <[EMAIL PROTECTED]> wrote:

Hi all,
I want to define the log file name pattern like yyyymmdd-mylog.log, how to
do so using log4j?
As the DailyRollingFileAppender is just append the yyymmdd pattern to the
end of the file name, something like mylog.log.yyyymmdd. Do I need to
write
my own appender class, or can anyone provide some helpful util class?



Thanks for help!





Reply via email to