Hello Friends,

I am using Log4J version 1.2.7. I want to roll over the Log file every month and hence 
I am using the org.apache.log4j.DailyRollingFileAppender in my xml file.
i.e:
<appender name="ToFile" class="org.apache.log4j.DailyRollingFileAppender">
:
:
 I would like to control the name of the rolled file. i.e.: currently it is named as 
ErrorLogs.log.2002-20-12.
However I would like to name it as 
ErrorLogs_12-20-2002.
How do I achieve this?

All help in this regard would be appreciated.

Thanks and regards,

Milan Doshi


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

Reply via email to